#1F0828

Closest named color: Very Dark Purple (#2A0134). oklch(19.2% 0.066 315.2), rgb(31, 8, 40).

Aa

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

About this color

#1F0828 is a very dark, muted purple. In OKLCH its lightness is 19%, its chroma 0.066 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.037 away. White text reads best on it, at 18.68:1.

Hue familyPurples
Lightnessvery dark (19%)
Chromamuted (0.066)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.12:1
White text18.68:1

Values

HEX#1F0828
RGBrgb(31, 8, 40)
HSLhsl(283, 67%, 9%)
OKLCHoklch(19.2% 0.066 315.2)

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 #1F0828 18.68:1 AAA Lc -107.1 Preferred for body text
Black text on #1F0828 1.12:1 Fails Lc 0.0 Not readable
#1F0828 text on white 18.68:1 AAA Lc 105.0 Preferred for body text
#1F0828 text on black 1.12: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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F5

    oklch(93.7% 0.023 314.7)

  3. Step 200

    200

    #E4D1ED

    oklch(88.5% 0.043 315)

  4. Step 300

    300

    #D4B2E4

    oklch(80.9% 0.078 314.9)

  5. Step 400

    400

    #BE87D6

    oklch(70.6% 0.126 315.2)

  6. Step 500

    500

    #AE67CB

    oklch(63.2% 0.161 315.4)

  7. Step 600

    600

    #994BB8

    oklch(55.6% 0.176 315.2)

  8. Step 700

    700

    #823C9E

    oklch(49.1% 0.162 315.1)

  9. Step 800

    800

    #6A3280

    oklch(42.7% 0.135 315.4)

  10. Step 900

    900

    #562D67

    oklch(37.7% 0.105 315.1)

  11. Step 950

    950 (this color)

    #1F0828

    oklch(19.2% 0.066 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F0828 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)#0111290.063
Deuteranopia (no green cones)#0813270.054
Tritanopia (no blue cones)#1E0E160.045
Achromatopsia (no color)#1212120.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F0828

    #1F0828

    oklch(19.2% 0.066 315.2)

  • #081900

    #081900

    oklch(19.1% 0.056 134.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F0828

    #1F0828

    oklch(19.2% 0.066 315.2)

  • #130D30

    #130D30

    oklch(19.2% 0.067 286.1)

  • #27051B

    #27051B

    oklch(19.2% 0.065 344.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F0828

    #1F0828

    oklch(19.2% 0.066 315.2)

  • #171500

    #171500

    oklch(19.2% 0.041 105.2)

  • #001A10

    #001A10

    oklch(19.3% 0.04 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F0828

    #1F0828

    oklch(19.2% 0.066 315.2)

  • #1F1100

    #1F1100

    oklch(19.2% 0.041 74)

  • #001919

    #001919

    oklch(19.3% 0.033 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F0828

    #1F0828

    oklch(19.2% 0.066 315.2)

  • #270A00

    #270A00

    oklch(19.2% 0.054 45.4)

  • #081900

    #081900

    oklch(19.1% 0.056 134.8)

  • #001720

    #001720

    oklch(19% 0.036 225.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F0828 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.