#0A0820

Closest named color: Midnight (#03012D). oklch(15.5% 0.049 283), rgb(10, 8, 32).

Aa

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

About this color

#0A0820 is a very dark, muted purple. In OKLCH its lightness is 15%, 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 19.65:1.

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

Values

HEX#0A0820
RGBrgb(10, 8, 32)
HSLhsl(245, 60%, 8%)
OKLCHoklch(15.5% 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 #0A0820 19.65:1 AAA Lc -107.6 Preferred for body text
Black text on #0A0820 1.06:1 Fails Lc 0.0 Not readable
#0A0820 text on white 19.65:1 AAA Lc 105.7 Preferred for body text
#0A0820 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

    #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)

    #0A0820

    oklch(15.5% 0.049 283)

Export this scale for Tailwind in the Tailwind colors tool

#0A0820 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)#000C210.025
Deuteranopia (no green cones)#000A1F0.024
Tritanopia (no blue cones)#030D120.042
Achromatopsia (no color)#0B0B0B0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #0A0820

    #0A0820

    oklch(15.5% 0.049 283)

  • #0F0D00

    #0F0D00

    oklch(15.7% 0.033 103.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0A0820

    #0A0820

    oklch(15.5% 0.049 283)

  • #000C20

    #000C20

    oklch(15.5% 0.049 253.5)

  • #13051B

    #13051B

    oklch(15.4% 0.05 312.1)

Open the analogous palette in the generator

Split complementary

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

  • #0A0820

    #0A0820

    oklch(15.5% 0.049 283)

  • #140A00

    #140A00

    oklch(15.5% 0.033 76.4)

  • #051000

    #051000

    oklch(15.6% 0.044 133.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0A0820

    #0A0820

    oklch(15.5% 0.049 283)

  • #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.

  • #0A0820

    #0A0820

    oklch(15.5% 0.049 283)

  • #1C0306

    #1C0306

    oklch(15.4% 0.048 14.6)

  • #0F0D00

    #0F0D00

    oklch(15.7% 0.033 103.8)

  • #00100F

    #00100F

    oklch(15.6% 0.027 190.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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