#28062D

Closest named color: Very Dark Purple (#2A0134). oklch(20.8% 0.081 322.3), rgb(40, 6, 45).

Aa

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

About this color

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

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

Values

HEX#28062D
RGBrgb(40, 6, 45)
HSLhsl(292, 76%, 10%)
OKLCHoklch(20.8% 0.081 322.3)

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 #28062D 18.19:1 AAA Lc -106.7 Preferred for body text
Black text on #28062D 1.15:1 Fails Lc 0.0 Not readable
#28062D text on white 18.19:1 AAA Lc 104.5 Preferred for body text
#28062D 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

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EBCEEE

    oklch(88.5% 0.053 323.1)

  4. Step 300

    300

    #DEACE5

    oklch(80.8% 0.095 322.3)

  5. Step 400

    400

    #CD7DD8

    oklch(70.7% 0.154 322.6)

  6. Step 500

    500

    #BE57CE

    oklch(63% 0.197 322.1)

  7. Step 600

    600

    #AA36BB

    oklch(55.7% 0.214 322.3)

  8. Step 700

    700

    #9127A1

    oklch(49.1% 0.198 322)

  9. Step 800

    800

    #762382

    oklch(42.7% 0.164 322.3)

  10. Step 900

    900

    #602369

    oklch(37.8% 0.129 322.3)

  11. Step 950

    950 (this color)

    #28062D

    oklch(20.8% 0.081 322.3)

Export this scale for Tailwind in the Tailwind colors tool

#28062D 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)#00132E0.083
Deuteranopia (no green cones)#0B172C0.072
Tritanopia (no blue cones)#290D180.050
Achromatopsia (no color)#1515150.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #28062D

    #28062D

    oklch(20.8% 0.081 322.3)

  • #001F00

    #001F00

    oklch(20.7% 0.071 142.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28062D

    #28062D

    oklch(20.8% 0.081 322.3)

  • #1A0C39

    #1A0C39

    oklch(20.7% 0.082 291.9)

  • #31021B

    #31021B

    oklch(20.9% 0.081 353.2)

Open the analogous palette in the generator

Split complementary

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

  • #28062D

    #28062D

    oklch(20.8% 0.081 322.3)

  • #181A00

    #181A00

    oklch(20.9% 0.047 113.6)

  • #001E16

    #001E16

    oklch(20.9% 0.041 172.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28062D

    #28062D

    oklch(20.8% 0.081 322.3)

  • #211600

    #211600

    oklch(20.9% 0.043 84.6)

  • #001C1F

    #001C1F

    oklch(20.7% 0.035 204.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28062D

    #28062D

    oklch(20.8% 0.081 322.3)

  • #2A0F00

    #2A0F00

    oklch(20.7% 0.053 51.9)

  • #001F00

    #001F00

    oklch(20.7% 0.071 142.5)

  • #001B28

    #001B28

    oklch(20.9% 0.043 232)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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