#28113D

Closest named color: Dark Purple (#35063E). oklch(23.8% 0.082 305), rgb(40, 17, 61).

Aa

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

About this color

#28113D is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.082 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.035 away. White text reads best on it, at 16.96:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.23:1
White text16.96:1

Values

HEX#28113D
RGBrgb(40, 17, 61)
HSLhsl(271, 56%, 15%)
OKLCHoklch(23.8% 0.082 305)

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 #28113D 16.96:1 AAA Lc -106.0 Preferred for body text
Black text on #28113D 1.23:1 Fails Lc 0.0 Not readable
#28113D text on white 16.96:1 AAA Lc 103.6 Preferred for body text
#28113D 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F6

    oklch(88.5% 0.053 304.9)

  4. Step 300

    300

    #CFB1F3

    oklch(80.9% 0.097 305.1)

  5. Step 400

    400

    #B785ED

    oklch(70.7% 0.155 304.9)

  6. Step 500

    500

    #A661E7

    oklch(63% 0.199 305.1)

  7. Step 600

    600

    #9243D5

    oklch(55.6% 0.215 305.2)

  8. Step 700

    700

    #7C33B9

    oklch(49.1% 0.2 304.9)

  9. Step 800

    800

    #652C96

    oklch(42.8% 0.166 304.9)

  10. Step 900

    900

    #522977

    oklch(37.6% 0.13 305.2)

  11. Step 950

    950 (this color)

    #28113D

    oklch(23.8% 0.082 305)

Export this scale for Tailwind in the Tailwind colors tool

#28113D 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)#001C3E0.068
Deuteranopia (no green cones)#071C3C0.061
Tritanopia (no blue cones)#241A250.058
Achromatopsia (no color)#1C1C1C0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #28113D

    #28113D

    oklch(23.8% 0.082 305)

  • #182300

    #182300

    oklch(23.7% 0.06 125.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28113D

    #28113D

    oklch(23.8% 0.082 305)

  • #151844

    #151844

    oklch(23.7% 0.082 275.3)

  • #340B2E

    #340B2E

    oklch(23.7% 0.081 334.2)

Open the analogous palette in the generator

Split complementary

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

  • #28113D

    #28113D

    oklch(23.8% 0.082 305)

  • #261E00

    #261E00

    oklch(23.7% 0.049 94.7)

  • #002612

    #002612

    oklch(23.6% 0.058 155.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28113D

    #28113D

    oklch(23.8% 0.082 305)

  • #301800

    #301800

    oklch(23.8% 0.054 63.5)

  • #002521

    #002521

    oklch(23.8% 0.042 184.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28113D

    #28113D

    oklch(23.8% 0.082 305)

  • #3D0900

    #3D0900

    oklch(23.8% 0.083 35.3)

  • #182300

    #182300

    oklch(23.7% 0.06 125.1)

  • #00242B

    #00242B

    oklch(23.9% 0.042 213.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28113D 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.