#0A081F

Closest named color: Midnight (#03012D). oklch(15.4% 0.047 283.5), rgb(10, 8, 31).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (15%)
Chromamuted (0.047)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.06:1
White text19.67:1

Values

HEX#0A081F
RGBrgb(10, 8, 31)
HSLhsl(245, 59%, 8%)
OKLCHoklch(15.4% 0.047 283.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 #0A081F 19.67:1 AAA Lc -107.6 Preferred for body text
Black text on #0A081F 1.06:1 Fails Lc 0.0 Not readable
#0A081F text on white 19.67:1 AAA Lc 105.7 Preferred for body text
#0A081F text on black 1.06: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D6D7EE

    oklch(88.5% 0.031 283.8)

  4. Step 300

    300

    #BBBDE5

    oklch(81% 0.056 282.8)

  5. Step 400

    400

    #9999D7

    oklch(70.6% 0.09 283.9)

  6. Step 500

    500

    #817FCC

    oklch(63.1% 0.114 283.8)

  7. Step 600

    600

    #6B67B9

    oklch(55.5% 0.125 283.8)

  8. Step 700

    700

    #5956A0

    oklch(49.2% 0.116 283.1)

  9. Step 800

    800

    #494681

    oklch(42.6% 0.096 283.9)

  10. Step 900

    900

    #3D3B68

    oklch(37.6% 0.076 284.2)

  11. Step 950

    950 (this color)

    #0A081F

    oklch(15.4% 0.047 283.5)

Export this scale for Tailwind in the Tailwind colors tool

#0A081F 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)#010C200.023
Deuteranopia (no green cones)#000A1F0.024
Tritanopia (no blue cones)#040D120.039
Achromatopsia (no color)#0B0B0B0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #0A081F

    #0A081F

    oklch(15.4% 0.047 283.5)

  • #0E0C00

    #0E0C00

    oklch(15.2% 0.032 103.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0A081F

    #0A081F

    oklch(15.4% 0.047 283.5)

  • #000C1F

    #000C1F

    oklch(15.4% 0.047 252.5)

  • #13051A

    #13051A

    oklch(15.3% 0.049 313.6)

Open the analogous palette in the generator

Split complementary

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

  • #0A081F

    #0A081F

    oklch(15.4% 0.047 283.5)

  • #140900

    #140900

    oklch(15.3% 0.033 72.1)

  • #051000

    #051000

    oklch(15.6% 0.044 133.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0A081F

    #0A081F

    oklch(15.4% 0.047 283.5)

  • #1B0500

    #1B0500

    oklch(15.5% 0.045 44.1)

  • #001008

    #001008

    oklch(15.3% 0.033 163.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0A081F

    #0A081F

    oklch(15.4% 0.047 283.5)

  • #1C0306

    #1C0306

    oklch(15.4% 0.048 14.6)

  • #0E0C00

    #0E0C00

    oklch(15.2% 0.032 103.5)

  • #000F0F

    #000F0F

    oklch(15.2% 0.026 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 #0A081F, closest first.

Similar named colors

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

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