Skip to the color picker

#312a5f color: Paris M

#312a5f is rgb(49, 42, 95) in RGB and oklch(32.283% 0.09085 286.171) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

248°
100%

32.3%
0.091
286°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Midnight blue
  • blue-950
  • Black 63%

Inside sRGB: displays the same on any screen.

White text
12.91:1Readable · AA
Lc -102
Black text
1.63:1Hard to read
Lc 0

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #312a5f

#312a5f is a soft dark violet color. In OKLCH it has 32.3% lightness, 0.091 chroma and a hue of 286°.

Inside sRGB: displays the same on any screen.

White text on it reaches 12.91:1 contrast and black text 1.63:1, so white text reads better.

The closest named color is Paris M (#312760). In Tailwind CSS the closest color is blue-950.

More dark violet colors

Lighter: #312a5f mixed with white

Darker: #312a5f mixed with black

  1. 000000

Calmer: #312a5f with less saturation

Similar named colors

Colors that go with #312a5f

Complementary
Analogous
Triadic
Split

Questions about #312a5f

What color is #312a5f?

#312a5f is soft dark violet. The closest named color is Paris M. In RGB it is rgb(49, 42, 95), in HSL hsl(247.92, 38.69%, 26.86%) and in OKLCH oklch(32.283% 0.09085 286.171).

What colors go well with #312a5f?

The complementary color of #312a5f is #3a3500. For a calmer combination use the analogous colors #0f3361 and #452252. The triadic partners are #572100 and #004129.

Is white or black text more readable on #312a5f?

White text reads better on #312a5f: white gives a contrast ratio of 12.91:1 and black gives 1.63:1. WCAG AA asks for at least 4.5:1 for body text.

Is #312a5f a warm or cool color?

#312a5f is a cool color. In OKLCH its hue is 286 degrees, its lightness 32.3% and its chroma 0.091.