#06041A

Closest named color: Midnight (#03012D). oklch(13.1% 0.049 283), rgb(6, 4, 26).

Aa

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

About this color

#06041A is a very dark, muted purple. In OKLCH its lightness is 13%, its chroma 0.049 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.043 away. White text reads best on it, at 20.19:1.

Hue familyPurples
Lightnessvery dark (13%)
Chromamuted (0.049)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.04:1
White text20.19:1

Values

HEX#06041A
RGBrgb(6, 4, 26)
HSLhsl(245, 73%, 6%)
OKLCHoklch(13.1% 0.049 283)

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 #06041A 20.19:1 AAA Lc -107.8 Preferred for body text
Black text on #06041A 1.04:1 Fails Lc 0.0 Not readable
#06041A text on white 20.19:1 AAA Lc 105.9 Preferred for body text
#06041A text on black 1.04: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

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D5D7EF

    oklch(88.5% 0.033 281.9)

  4. Step 300

    300

    #BBBCE6

    oklch(80.8% 0.059 283.9)

  5. Step 400

    400

    #9899D9

    oklch(70.6% 0.093 283.1)

  6. Step 500

    500

    #807FCF

    oklch(63.1% 0.119 283)

  7. Step 600

    600

    #6A67BC

    oklch(55.6% 0.129 282.9)

  8. Step 700

    700

    #5855A2

    oklch(49% 0.12 282.8)

  9. Step 800

    800

    #484683

    oklch(42.7% 0.099 282.8)

  10. Step 900

    900

    #3C3B69

    oklch(37.6% 0.078 283)

  11. Step 950

    950 (this color)

    #06041A

    oklch(13.1% 0.049 283)

Export this scale for Tailwind in the Tailwind colors tool

#06041A 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)#00071B0.022
Deuteranopia (no green cones)#00061A0.021
Tritanopia (no blue cones)#01080D0.041
Achromatopsia (no color)#0707070.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #06041A

    #06041A

    oklch(13.1% 0.049 283)

  • #090800

    #090800

    oklch(13.2% 0.028 105.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #06041A

    #06041A

    oklch(13.1% 0.049 283)

  • #000717

    #000717

    oklch(13% 0.041 254)

  • #0E0215

    #0E0215

    oklch(13% 0.05 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #06041A

    #06041A

    oklch(13.1% 0.049 283)

  • #0E0600

    #0E0600

    oklch(13.2% 0.028 74.5)

  • #030A00

    #030A00

    oklch(13% 0.037 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #06041A

    #06041A

    oklch(13.1% 0.049 283)

  • #130300

    #130300

    oklch(13.1% 0.038 44.3)

  • #000B05

    #000B05

    oklch(13.2% 0.029 162.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #06041A

    #06041A

    oklch(13.1% 0.049 283)

  • #160003

    #160003

    oklch(12.8% 0.051 12.7)

  • #090800

    #090800

    oklch(13.2% 0.028 105.7)

  • #000A0A

    #000A0A

    oklch(13.1% 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 #06041A, closest first.

Similar named colors

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

Use #06041A 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.