#080312

Closest named color: Almost Black (#070D0D). oklch(12.1% 0.038 300.1), rgb(8, 3, 18).

Aa

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

About this color

#080312 is a very dark, muted purple. In OKLCH its lightness is 12%, its chroma 0.038 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.052 away. White text reads best on it, at 20.34:1.

Hue familyPurples
Lightnessvery dark (12%)
Chromamuted (0.038)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.03:1
White text20.34:1

Values

HEX#080312
RGBrgb(8, 3, 18)
HSLhsl(260, 71%, 4%)
OKLCHoklch(12.1% 0.038 300.1)

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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E8

    oklch(88.5% 0.025 298.6)

  4. Step 300

    300

    #C5BADA

    oklch(80.8% 0.046 301)

  5. Step 400

    400

    #A797C8

    oklch(70.8% 0.072 299.5)

  6. Step 500

    500

    #927CBA

    oklch(63% 0.094 300)

  7. Step 600

    600

    #7D65A6

    oklch(55.7% 0.101 300.1)

  8. Step 700

    700

    #69538E

    oklch(49% 0.095 300.1)

  9. Step 800

    800

    #564473

    oklch(42.6% 0.079 300.8)

  10. Step 900

    900

    #473A5D

    oklch(37.8% 0.06 300.6)

  11. Step 950

    950 (this color)

    #080312

    oklch(12.1% 0.038 300.1)

Export this scale for Tailwind in the Tailwind colors tool

#080312 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)#0005130.030
Deuteranopia (no green cones)#0105120.026
Tritanopia (no blue cones)#0605080.029
Achromatopsia (no color)#0505050.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #080312

    #080312

    oklch(12.1% 0.038 300.1)

  • #050700

    #050700

    oklch(12.1% 0.029 119.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #080312

    #080312

    oklch(12.1% 0.038 300.1)

  • #030514

    #030514

    oklch(12.3% 0.036 271)

  • #0D020C

    #0D020C

    oklch(12.1% 0.037 330.3)

Open the analogous palette in the generator

Split complementary

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

  • #080312

    #080312

    oklch(12.1% 0.038 300.1)

  • #090500

    #090500

    oklch(11.9% 0.024 86.8)

  • #000902

    #000902

    oklch(12.2% 0.033 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #080312

    #080312

    oklch(12.1% 0.038 300.1)

  • #0D0400

    #0D0400

    oklch(12.2% 0.028 62.7)

  • #000806

    #000806

    oklch(12% 0.022 179.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #080312

    #080312

    oklch(12.1% 0.038 300.1)

  • #110201

    #110201

    oklch(12.2% 0.036 31.8)

  • #050700

    #050700

    oklch(12.1% 0.029 119.3)

  • #00080A

    #00080A

    oklch(12.3% 0.021 208)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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