#0D0C27

Closest named color: Rich Navy (#001219). oklch(17.5% 0.054 280.9), rgb(13, 12, 39).

Aa

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

About this color

#0D0C27 is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.054 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.046 away. White text reads best on it, at 19.10:1.

Hue familyPurples
Lightnessvery dark (17%)
Chromamuted (0.054)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.09:1
White text19.10:1

Values

HEX#0D0C27
RGBrgb(13, 12, 39)
HSLhsl(242, 53%, 10%)
OKLCHoklch(17.5% 0.054 280.9)

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 #0D0C27 19.10:1 AAA Lc -107.4 Preferred for body text
Black text on #0D0C27 1.09:1 Fails Lc 0.0 Not readable
#0D0C27 text on white 19.10:1 AAA Lc 105.4 Preferred for body text
#0D0C27 text on black 1.09: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

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D4D7F1

    oklch(88.5% 0.036 280.4)

  4. Step 300

    300

    #B9BDEA

    oklch(81% 0.063 280.9)

  5. Step 400

    400

    #9599DF

    oklch(70.7% 0.102 280.9)

  6. Step 500

    500

    #7C7ED6

    oklch(63% 0.131 281)

  7. Step 600

    600

    #6666C3

    oklch(55.6% 0.141 280.8)

  8. Step 700

    700

    #5554A9

    oklch(49.1% 0.133 280.9)

  9. Step 800

    800

    #464589

    oklch(42.7% 0.11 281.3)

  10. Step 900

    900

    #3A3B6D

    oklch(37.7% 0.084 280.7)

  11. Step 950

    950 (this color)

    #0D0C27

    oklch(17.5% 0.054 280.9)

Export this scale for Tailwind in the Tailwind colors tool

#0D0C27 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)#0110280.024
Deuteranopia (no green cones)#000E260.025
Tritanopia (no blue cones)#0412170.047
Achromatopsia (no color)#0F0F0F0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D0C27

    #0D0C27

    oklch(17.5% 0.054 280.9)

  • #141100

    #141100

    oklch(17.6% 0.037 101.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D0C27

    #0D0C27

    oklch(17.5% 0.054 280.9)

  • #001125

    #001125

    oklch(17.5% 0.05 250)

  • #180821

    #180821

    oklch(17.5% 0.053 311.8)

Open the analogous palette in the generator

Split complementary

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

  • #0D0C27

    #0D0C27

    oklch(17.5% 0.054 280.9)

  • #1B0D00

    #1B0D00

    oklch(17.5% 0.038 69.7)

  • #091400

    #091400

    oklch(17.4% 0.047 130.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D0C27

    #0D0C27

    oklch(17.5% 0.054 280.9)

  • #230600

    #230600

    oklch(17.5% 0.054 40.7)

  • #00150B

    #00150B

    oklch(17.3% 0.038 162.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D0C27

    #0D0C27

    oklch(17.5% 0.054 280.9)

  • #23040A

    #23040A

    oklch(17.4% 0.055 11.4)

  • #141100

    #141100

    oklch(17.6% 0.037 101.9)

  • #001413

    #001413

    oklch(17.3% 0.03 190.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0D0C27 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.