#060318

Closest named color: Midnight (#03012D). oklch(12.4% 0.049 286.5), rgb(6, 3, 24).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (12%)
Chromamuted (0.049)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.03:1
White text20.31:1

Values

HEX#060318
RGBrgb(6, 3, 24)
HSLhsl(249, 78%, 5%)
OKLCHoklch(12.4% 0.049 286.5)

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 #060318 20.31:1 AAA Lc -107.8 Preferred for body text
Black text on #060318 1.03:1 Fails Lc 0.0 Not readable
#060318 text on white 20.31:1 AAA Lc 105.9 Preferred for body text
#060318 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D7D6EE

    oklch(88.4% 0.033 287.6)

  4. Step 300

    300

    #BDBCE5

    oklch(81% 0.057 286.2)

  5. Step 400

    400

    #9C98D8

    oklch(70.7% 0.093 286.6)

  6. Step 500

    500

    #847DCD

    oklch(63% 0.119 286.5)

  7. Step 600

    600

    #6F65BA

    oklch(55.5% 0.129 286.8)

  8. Step 700

    700

    #5D54A0

    oklch(49.1% 0.119 286.6)

  9. Step 800

    800

    #4C4582

    oklch(42.7% 0.099 286.7)

  10. Step 900

    900

    #3F3A68

    oklch(37.6% 0.077 287)

  11. Step 950

    950 (this color)

    #060318

    oklch(12.4% 0.049 286.5)

Export this scale for Tailwind in the Tailwind colors tool

#060318 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)#0006190.024
Deuteranopia (no green cones)#0005180.023
Tritanopia (no blue cones)#02070B0.041
Achromatopsia (no color)#0606060.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #060318

    #060318

    oklch(12.4% 0.049 286.5)

  • #070700

    #070700

    oklch(12.4% 0.027 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #060318

    #060318

    oklch(12.4% 0.049 286.5)

  • #000617

    #000617

    oklch(12.5% 0.043 256.3)

  • #0D0113

    #0D0113

    oklch(12.2% 0.052 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #060318

    #060318

    oklch(12.4% 0.049 286.5)

  • #0C0500

    #0C0500

    oklch(12.4% 0.026 74.3)

  • #020900

    #020900

    oklch(12.5% 0.037 135.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #060318

    #060318

    oklch(12.4% 0.049 286.5)

  • #110300

    #110300

    oklch(12.6% 0.035 46.9)

  • #000905

    #000905

    oklch(12.4% 0.025 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #060318

    #060318

    oklch(12.4% 0.049 286.5)

  • #150002

    #150002

    oklch(12.4% 0.05 16.7)

  • #070700

    #070700

    oklch(12.4% 0.027 109.8)

  • #000809

    #000809

    oklch(12.2% 0.021 201.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #060318 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.