#06031B

Closest named color: Midnight (#03012D). oklch(12.8% 0.054 284.2), rgb(6, 3, 27).

Aa

White text reads best on this color (20.25:1).

About this color

#06031B is a very dark, muted purple. In OKLCH its lightness is 13%, its chroma 0.054 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.040 away. White text reads best on it, at 20.25:1.

Hue familyPurples
Lightnessvery dark (13%)
Chromamuted (0.054)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.03:1
White text20.25:1

Values

HEX#06031B
RGBrgb(6, 3, 27)
HSLhsl(248, 80%, 6%)
OKLCHoklch(12.8% 0.054 284.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #06031B 20.25:1 AAA Lc -107.8 Preferred for body text
Black text on #06031B 1.03:1 Fails Lc 0.0 Not readable
#06031B text on white 20.25:1 AAA Lc 105.9 Preferred for body text
#06031B text on black 1.03:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D6D7F0

    oklch(88.6% 0.034 283.9)

  4. Step 300

    300

    #BBBCE9

    oklch(81% 0.063 283.9)

  5. Step 400

    400

    #9998DE

    oklch(70.8% 0.102 284.1)

  6. Step 500

    500

    #817DD5

    oklch(63.2% 0.13 284.1)

  7. Step 600

    600

    #6B64C2

    oklch(55.5% 0.142 284.1)

  8. Step 700

    700

    #5A53A8

    oklch(49.2% 0.132 284.2)

  9. Step 800

    800

    #494488

    oklch(42.7% 0.11 284.1)

  10. Step 900

    900

    #3D3A6D

    oklch(37.7% 0.085 284.2)

  11. Step 950

    950 (this color)

    #06031B

    oklch(12.8% 0.054 284.2)

Export this scale for Tailwind in the Tailwind colors tool

#06031B with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#00071C0.025
Deuteranopia (no green cones)#00051A0.022
Tritanopia (no blue cones)#01080D0.045
Achromatopsia (no color)#0606060.054

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #06031B

    #06031B

    oklch(12.8% 0.054 284.2)

  • #080700

    #080700

    oklch(12.6% 0.027 105.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #06031B

    #06031B

    oklch(12.8% 0.054 284.2)

  • #000716

    #000716

    oklch(12.9% 0.039 252.8)

  • #0E0115

    #0E0115

    oklch(12.6% 0.055 314.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #06031B

    #06031B

    oklch(12.8% 0.054 284.2)

  • #0D0500

    #0D0500

    oklch(12.6% 0.027 70.8)

  • #030A00

    #030A00

    oklch(13% 0.037 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #06031B

    #06031B

    oklch(12.8% 0.054 284.2)

  • #120300

    #120300

    oklch(12.8% 0.036 45.5)

  • #000A05

    #000A05

    oklch(12.8% 0.027 165.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #06031B

    #06031B

    oklch(12.8% 0.054 284.2)

  • #160003

    #160003

    oklch(12.8% 0.051 12.7)

  • #080700

    #080700

    oklch(12.6% 0.027 105.2)

  • #000909

    #000909

    oklch(12.7% 0.022 194.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #06031B, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #06031B in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.