#281237

Closest named color: Dark Purple (#35063E). oklch(23.5% 0.072 309.4), rgb(40, 18, 55).

Aa

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

About this color

#281237 is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.072 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.038 away. White text reads best on it, at 17.04:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.23:1
White text17.04:1

Values

HEX#281237
RGBrgb(40, 18, 55)
HSLhsl(276, 51%, 14%)
OKLCHoklch(23.5% 0.072 309.4)

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 #281237 17.04:1 AAA Lc -106.1 Preferred for body text
Black text on #281237 1.23:1 Fails Lc 0.0 Not readable
#281237 text on white 17.04:1 AAA Lc 103.7 Preferred for body text
#281237 text on black 1.23: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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F7

    oklch(93.7% 0.025 309.4)

  3. Step 200

    200

    #E2D1F1

    oklch(88.4% 0.047 309.2)

  4. Step 300

    300

    #D1B2EB

    oklch(80.9% 0.085 309.2)

  5. Step 400

    400

    #BA87E0

    oklch(70.7% 0.136 309.6)

  6. Step 500

    500

    #A966D7

    oklch(63.1% 0.174 309.7)

  7. Step 600

    600

    #944AC5

    oklch(55.7% 0.189 309.3)

  8. Step 700

    700

    #7E3AAA

    oklch(49.1% 0.176 309.3)

  9. Step 800

    800

    #67318A

    oklch(42.8% 0.146 309.5)

  10. Step 900

    900

    #532C6E

    oklch(37.6% 0.114 309.2)

  11. Step 950

    950 (this color)

    #281237

    oklch(23.5% 0.072 309.4)

Export this scale for Tailwind in the Tailwind colors tool

#281237 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)#061B380.061
Deuteranopia (no green cones)#0E1C360.054
Tritanopia (no blue cones)#2619220.051
Achromatopsia (no color)#1C1C1C0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #281237

    #281237

    oklch(23.5% 0.072 309.4)

  • #142300

    #142300

    oklch(23.4% 0.062 129.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281237

    #281237

    oklch(23.5% 0.072 309.4)

  • #18183F

    #18183F

    oklch(23.5% 0.073 279.2)

  • #330D29

    #330D29

    oklch(23.5% 0.073 339.5)

Open the analogous palette in the generator

Split complementary

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

  • #281237

    #281237

    oklch(23.5% 0.072 309.4)

  • #241E00

    #241E00

    oklch(23.5% 0.049 98.6)

  • #002515

    #002515

    oklch(23.3% 0.053 160.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281237

    #281237

    oklch(23.5% 0.072 309.4)

  • #2D1900

    #2D1900

    oklch(23.5% 0.051 70.1)

  • #002422

    #002422

    oklch(23.5% 0.041 189.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281237

    #281237

    oklch(23.5% 0.072 309.4)

  • #380E01

    #380E01

    oklch(23.4% 0.071 39.7)

  • #142300

    #142300

    oklch(23.4% 0.062 129.4)

  • #00222C

    #00222C

    oklch(23.3% 0.043 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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