#28052F

Closest named color: Very Dark Purple (#2A0134). oklch(20.8% 0.085 320.5), rgb(40, 5, 47).

Aa

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

About this color

#28052F is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.085 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.014 away. White text reads best on it, at 18.21:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.15:1
White text18.21:1

Values

HEX#28052F
RGBrgb(40, 5, 47)
HSLhsl(290, 81%, 10%)
OKLCHoklch(20.8% 0.085 320.5)

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 #28052F 18.21:1 AAA Lc -106.7 Preferred for body text
Black text on #28052F 1.15:1 Fails Lc 0.0 Not readable
#28052F text on white 18.21:1 AAA Lc 104.4 Preferred for body text
#28052F text on black 1.15: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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #EACEF0

    oklch(88.5% 0.055 320.3)

  4. Step 300

    300

    #DEABE9

    oklch(80.8% 0.102 320.3)

  5. Step 400

    400

    #CD7CDE

    oklch(70.8% 0.162 320.5)

  6. Step 500

    500

    #BE54D4

    oklch(63% 0.207 320.4)

  7. Step 600

    600

    #AA32C1

    oklch(55.7% 0.224 320.6)

  8. Step 700

    700

    #9121A7

    oklch(49% 0.209 320.2)

  9. Step 800

    800

    #761F87

    oklch(42.6% 0.173 320.5)

  10. Step 900

    900

    #60216C

    oklch(37.7% 0.135 320.9)

  11. Step 950

    950 (this color)

    #28052F

    oklch(20.8% 0.085 320.5)

Export this scale for Tailwind in the Tailwind colors tool

#28052F 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)#0013300.084
Deuteranopia (no green cones)#09172E0.075
Tritanopia (no blue cones)#280D190.052
Achromatopsia (no color)#1515150.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #28052F

    #28052F

    oklch(20.8% 0.085 320.5)

  • #031F00

    #031F00

    oklch(20.9% 0.068 140.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28052F

    #28052F

    oklch(20.8% 0.085 320.5)

  • #1A0C3B

    #1A0C3B

    oklch(20.9% 0.085 290.8)

  • #31011D

    #31011D

    oklch(20.8% 0.084 350.2)

Open the analogous palette in the generator

Split complementary

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

  • #28052F

    #28052F

    oklch(20.8% 0.085 320.5)

  • #191900

    #191900

    oklch(20.7% 0.045 109.8)

  • #001E15

    #001E15

    oklch(20.9% 0.041 169.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28052F

    #28052F

    oklch(20.8% 0.085 320.5)

  • #221500

    #221500

    oklch(20.8% 0.043 79.6)

  • #001D1E

    #001D1E

    oklch(20.9% 0.036 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28052F

    #28052F

    oklch(20.8% 0.085 320.5)

  • #2B0F00

    #2B0F00

    oklch(20.9% 0.055 50.9)

  • #031F00

    #031F00

    oklch(20.9% 0.068 140.5)

  • #001B27

    #001B27

    oklch(20.8% 0.041 229.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28052F 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.