#42285F

Closest named color: Grape Purple (#5D1451). oklch(33.7% 0.096 303.5), rgb(66, 40, 95).

Aa

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

About this color

#42285F is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.096 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.068 away. White text reads best on it, at 12.34:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.70:1
White text12.34:1

Values

HEX#42285F
RGBrgb(66, 40, 95)
HSLhsl(268, 41%, 26%)
OKLCHoklch(33.7% 0.096 303.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 #42285F 12.34:1 AAA Lc -101.4 Preferred for body text
Black text on #42285F 1.70:1 Fails Lc 0.0 Not readable
#42285F text on white 12.34:1 AAA Lc 97.9 Preferred for body text
#42285F text on black 1.70: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 900.

  1. Step 50

    50

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3EF

    oklch(88.4% 0.04 303.4)

  4. Step 300

    300

    #CAB6E7

    oklch(80.9% 0.071 303.4)

  5. Step 400

    400

    #B08EDB

    oklch(70.7% 0.115 303.9)

  6. Step 500

    500

    #9C70D1

    oklch(63% 0.147 303.4)

  7. Step 600

    600

    #8856BE

    oklch(55.6% 0.16 303.8)

  8. Step 700

    700

    #7346A4

    oklch(49.1% 0.148 303.5)

  9. Step 800

    800

    #5E3A85

    oklch(42.7% 0.123 303.8)

  10. Step 900

    900 (this color)

    #42285F

    oklch(33.7% 0.096 303.5)

  11. Step 950

    950

    #2D1E3E

    oklch(27% 0.06 304.3)

Export this scale for Tailwind in the Tailwind colors tool

#42285F 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)#1434610.073
Deuteranopia (no green cones)#1D345E0.065
Tritanopia (no blue cones)#3D323F0.071
Achromatopsia (no color)#3535350.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #42285F

    #42285F

    oklch(33.7% 0.096 303.5)

  • #2F3E00

    #2F3E00

    oklch(33.8% 0.084 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42285F

    #42285F

    oklch(33.7% 0.096 303.5)

  • #283168

    #283168

    oklch(33.7% 0.096 273.2)

  • #53214C

    #53214C

    oklch(33.8% 0.095 333.1)

Open the analogous palette in the generator

Split complementary

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

  • #42285F

    #42285F

    oklch(33.7% 0.096 303.5)

  • #433600

    #433600

    oklch(33.7% 0.069 93.9)

  • #004421

    #004421

    oklch(33.9% 0.087 153.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42285F

    #42285F

    oklch(33.7% 0.096 303.5)

  • #522D00

    #522D00

    oklch(33.7% 0.076 63.7)

  • #00413A

    #00413A

    oklch(33.7% 0.06 183)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42285F

    #42285F

    oklch(33.7% 0.096 303.5)

  • #5F2012

    #5F2012

    oklch(33.8% 0.095 34.1)

  • #2F3E00

    #2F3E00

    oklch(33.8% 0.084 123.6)

  • #003F4A

    #003F4A

    oklch(33.8% 0.059 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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