#1F1535

Closest named color: Rich Black (#0D1B2A). oklch(22.7% 0.061 295.6), rgb(31, 21, 53).

Aa

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

About this color

#1F1535 is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.061 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.044 away. White text reads best on it, at 17.25:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.061)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.25:1

Values

HEX#1F1535
RGBrgb(31, 21, 53)
HSLhsl(259, 43%, 15%)
OKLCHoklch(22.7% 0.061 295.6)

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 #1F1535 17.25:1 AAA Lc -106.4 Preferred for body text
Black text on #1F1535 1.21:1 Fails Lc 0.0 Not readable
#1F1535 text on white 17.25:1 AAA Lc 104.0 Preferred for body text
#1F1535 text on black 1.21: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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DBD4F1

    oklch(88.4% 0.04 296.6)

  4. Step 300

    300

    #C4B8EB

    oklch(81% 0.072 295.5)

  5. Step 400

    400

    #A691E0

    oklch(70.6% 0.115 295.5)

  6. Step 500

    500

    #9274D7

    oklch(63.1% 0.147 295.9)

  7. Step 600

    600

    #7D5BC5

    oklch(55.7% 0.159 295.6)

  8. Step 700

    700

    #694AAA

    oklch(49.1% 0.148 295.3)

  9. Step 800

    800

    #563D8A

    oklch(42.7% 0.123 295.7)

  10. Step 900

    900

    #46356E

    oklch(37.7% 0.095 295.2)

  11. Step 950

    950 (this color)

    #1F1535

    oklch(22.7% 0.061 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F1535 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)#091B360.038
Deuteranopia (no green cones)#0B1A340.036
Tritanopia (no blue cones)#1A1B220.048
Achromatopsia (no color)#1B1B1B0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F1535

    #1F1535

    oklch(22.7% 0.061 295.6)

  • #1B1F00

    #1B1F00

    oklch(22.7% 0.052 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F1535

    #1F1535

    oklch(22.7% 0.061 295.6)

  • #0E1A38

    #0E1A38

    oklch(22.6% 0.061 265.4)

  • #2A112B

    #2A112B

    oklch(22.8% 0.059 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F1535

    #1F1535

    oklch(22.7% 0.061 295.6)

  • #261A00

    #261A00

    oklch(22.7% 0.046 85)

  • #052309

    #052309

    oklch(22.6% 0.06 145.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F1535

    #1F1535

    oklch(22.7% 0.061 295.6)

  • #2F1400

    #2F1400

    oklch(22.7% 0.055 56.4)

  • #00231B

    #00231B

    oklch(22.9% 0.043 174.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F1535

    #1F1535

    oklch(22.7% 0.061 295.6)

  • #330E0D

    #330E0D

    oklch(22.6% 0.06 24.7)

  • #1B1F00

    #1B1F00

    oklch(22.7% 0.052 116.4)

  • #002125

    #002125

    oklch(22.6% 0.039 206.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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