Skip to the color picker

#313f7f color: Official Violet

#313f7f is rgb(49, 63, 127) in RGB and oklch(39.15% 0.10885 271.287) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

39.2%
0.109
271°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 50%

Inside sRGB: displays the same on any screen.

White text
9.78:1Readable · AA
Lc -97
Black text
2.15:1Hard to read
Lc 12

Shades

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

Harmonies

Open as palette

Recent

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

About #313f7f

#313f7f is a soft dark indigo color. In OKLCH it has 39.2% lightness, 0.109 chroma and a hue of 271°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.

More dark indigo colors

Lighter: #313f7f mixed with white

  1. 313f7f
  2. 42518c
  3. 556499
  4. 6876a6
  5. 7c89b3
  6. 919cc0
  7. a6afcc
  8. bbc3d9
  9. d1d6e6
  10. e8ebf2

Darker: #313f7f mixed with black

  1. 313f7f
  2. 29356e
  3. 222c5d
  4. 1a234c
  5. 131b3c
  6. 0c122d
  7. 060a1f
  8. 030411
  9. 010106
  10. 000001

Calmer: #313f7f with less saturation

  1. 313f7f
  2. 334079
  3. 354174
  4. 37426e
  5. 394369
  6. 3b4463
  7. 3d445d
  8. 3f4557
  9. 414551
  10. 43454b

Questions about #313f7f

What color is #313f7f?

#313f7f is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(49, 63, 127), in HSL hsl(229.23, 44.32%, 34.51%) and in OKLCH oklch(39.15% 0.10885 271.287).

What colors go well with #313f7f?

The complementary color of #313f7f is #594200. For a calmer combination use the analogous colors #004a7a and #503476. The triadic partners are #75291d and #005525.

Is white or black text more readable on #313f7f?

White text reads better on #313f7f: white gives a contrast ratio of 9.78:1 and black gives 2.15:1. WCAG AA asks for at least 4.5:1 for body text.

Is #313f7f a warm or cool color?

#313f7f is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.2% and its chroma 0.109.