#42306B

Closest named color: Dark Slate Blue (#483D8B). oklch(36.1% 0.099 295), rgb(66, 48, 107).

Aa

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

About this color

#42306B is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.099 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.062 away. White text reads best on it, at 11.24:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.86:1
White text11.24:1

Values

HEX#42306B
RGBrgb(66, 48, 107)
HSLhsl(258, 38%, 30%)
OKLCHoklch(36.1% 0.099 295)

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 #42306B 11.24:1 AAA Lc -99.6 Preferred for body text
Black text on #42306B 1.86:1 Fails Lc 8.1 Not readable
#42306B text on white 11.24:1 AAA Lc 95.8 Preferred for body text
#42306B text on black 1.86: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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EAE7F7

    oklch(93.5% 0.022 294.6)

  3. Step 200

    200

    #DAD4F2

    oklch(88.4% 0.041 294.7)

  4. Step 300

    300

    #C3B8EC

    oklch(80.9% 0.073 294.4)

  5. Step 400

    400

    #A691E3

    oklch(70.7% 0.119 294.9)

  6. Step 500

    500

    #9173DA

    oklch(63% 0.152 295.1)

  7. Step 600

    600

    #7C5AC8

    oklch(55.6% 0.165 294.7)

  8. Step 700

    700

    #6949AD

    oklch(49.1% 0.153 294.9)

  9. Step 800

    800

    #563C8C

    oklch(42.7% 0.128 295.5)

  10. Step 900

    900 (this color)

    #42306B

    oklch(36.1% 0.099 295)

  11. Step 950

    950

    #291F42

    oklch(27% 0.064 294.9)

Export this scale for Tailwind in the Tailwind colors tool

#42306B 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)#183B6D0.063
Deuteranopia (no green cones)#1C3A6A0.059
Tritanopia (no blue cones)#383C480.080
Achromatopsia (no color)#3B3B3B0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #42306B

    #42306B

    oklch(36.1% 0.099 295)

  • #3C4200

    #3C4200

    oklch(36.1% 0.082 115.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42306B

    #42306B

    oklch(36.1% 0.099 295)

  • #233A71

    #233A71

    oklch(36.1% 0.099 264.8)

  • #562859

    #562859

    oklch(36% 0.098 325)

Open the analogous palette in the generator

Split complementary

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

  • #42306B

    #42306B

    oklch(36.1% 0.099 295)

  • #4F3900

    #4F3900

    oklch(36% 0.074 84.3)

  • #114A18

    #114A18

    oklch(36% 0.099 145)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42306B

    #42306B

    oklch(36.1% 0.099 295)

  • #602E00

    #602E00

    oklch(36.1% 0.089 55)

  • #00493B

    #00493B

    oklch(36.2% 0.069 174.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42306B

    #42306B

    oklch(36.1% 0.099 295)

  • #682321

    #682321

    oklch(36.1% 0.1 25.1)

  • #3C4200

    #3C4200

    oklch(36.1% 0.082 115.4)

  • #00464D

    #00464D

    oklch(36% 0.062 206.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42306B 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.