#42285E

Closest named color: Grape Purple (#5D1451). oklch(33.7% 0.094 304), rgb(66, 40, 94).

Aa

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

About this color

#42285E is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.094 and its hue 304°. 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.37:1.

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

Values

HEX#42285E
RGBrgb(66, 40, 94)
HSLhsl(269, 40%, 26%)
OKLCHoklch(33.7% 0.094 304)

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 #42285E 12.37:1 AAA Lc -101.4 Preferred for body text
Black text on #42285E 1.69:1 Fails Lc 0.0 Not readable
#42285E text on white 12.37:1 AAA Lc 97.9 Preferred for body text
#42285E text on black 1.69: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

    #EDE7F5

    oklch(93.7% 0.02 305.3)

  3. Step 200

    200

    #DED3EF

    oklch(88.4% 0.04 303.4)

  4. Step 300

    300

    #CAB6E6

    oklch(80.9% 0.07 303.8)

  5. Step 400

    400

    #B08EDA

    oklch(70.6% 0.114 304.2)

  6. Step 500

    500

    #9D70D0

    oklch(63% 0.146 304.2)

  7. Step 600

    600

    #8857BD

    oklch(55.7% 0.157 303.9)

  8. Step 700

    700

    #7346A3

    oklch(49% 0.147 303.8)

  9. Step 800

    800

    #5E3A84

    oklch(42.7% 0.122 304.2)

  10. Step 900

    900 (this color)

    #42285E

    oklch(33.7% 0.094 304)

  11. Step 950

    950

    #2D1E3E

    oklch(27% 0.06 304.3)

Export this scale for Tailwind in the Tailwind colors tool

#42285E 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)#1534600.072
Deuteranopia (no green cones)#1E345D0.064
Tritanopia (no blue cones)#3D323F0.069
Achromatopsia (no color)#3434340.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #42285E

    #42285E

    oklch(33.7% 0.094 304)

  • #2E3E00

    #2E3E00

    oklch(33.7% 0.084 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42285E

    #42285E

    oklch(33.7% 0.094 304)

  • #293167

    #293167

    oklch(33.7% 0.094 273.9)

  • #53214B

    #53214B

    oklch(33.7% 0.095 334)

Open the analogous palette in the generator

Split complementary

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

  • #42285E

    #42285E

    oklch(33.7% 0.094 304)

  • #433600

    #433600

    oklch(33.7% 0.069 93.9)

  • #004322

    #004322

    oklch(33.6% 0.084 154.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42285E

    #42285E

    oklch(33.7% 0.094 304)

  • #522D00

    #522D00

    oklch(33.7% 0.076 63.7)

  • #00413B

    #00413B

    oklch(33.7% 0.06 184.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42285E

    #42285E

    oklch(33.7% 0.094 304)

  • #5E2012

    #5E2012

    oklch(33.6% 0.094 34.2)

  • #2E3E00

    #2E3E00

    oklch(33.7% 0.084 124.3)

  • #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 #42285E, closest first.

Similar named colors

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

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