#281031

Closest named color: Very Dark Purple (#2A0134). oklch(22.7% 0.068 315.9), rgb(40, 16, 49).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.068)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.20:1
White text17.37:1

Values

HEX#281031
RGBrgb(40, 16, 49)
HSLhsl(284, 51%, 13%)
OKLCHoklch(22.7% 0.068 315.9)

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

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E5D1ED

    oklch(88.5% 0.043 316.4)

  4. Step 300

    300

    #D5B1E4

    oklch(80.9% 0.08 315.9)

  5. Step 400

    400

    #C087D6

    oklch(70.8% 0.127 316.2)

  6. Step 500

    500

    #AF66CB

    oklch(63.1% 0.163 315.9)

  7. Step 600

    600

    #9A4AB8

    oklch(55.6% 0.178 315.8)

  8. Step 700

    700

    #843A9E

    oklch(49.1% 0.166 316.3)

  9. Step 800

    800

    #6B3180

    oklch(42.7% 0.137 316.1)

  10. Step 900

    900

    #572C67

    oklch(37.6% 0.107 316.1)

  11. Step 950

    950 (this color)

    #281031

    oklch(22.7% 0.068 315.9)

Export this scale for Tailwind in the Tailwind colors tool

#281031 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)#0819320.061
Deuteranopia (no green cones)#101B300.055
Tritanopia (no blue cones)#28151E0.044
Achromatopsia (no color)#1A1A1A0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #281031

    #281031

    oklch(22.7% 0.068 315.9)

  • #0C2300

    #0C2300

    oklch(22.8% 0.068 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281031

    #281031

    oklch(22.7% 0.068 315.9)

  • #1A153A

    #1A153A

    oklch(22.6% 0.069 285.6)

  • #310C23

    #310C23

    oklch(22.7% 0.068 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #281031

    #281031

    oklch(22.7% 0.068 315.9)

  • #1F1D00

    #1F1D00

    oklch(22.6% 0.048 106)

  • #002317

    #002317

    oklch(22.7% 0.047 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281031

    #281031

    oklch(22.7% 0.068 315.9)

  • #291800

    #291800

    oklch(22.6% 0.048 74.2)

  • #002222

    #002222

    oklch(22.8% 0.039 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281031

    #281031

    oklch(22.7% 0.068 315.9)

  • #331000

    #331000

    oklch(22.7% 0.064 46.2)

  • #0C2300

    #0C2300

    oklch(22.8% 0.068 135.8)

  • #00202B

    #00202B

    oklch(22.6% 0.043 224.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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