#42345C

Closest named color: Prussian Blue (#1D3557). oklch(35.9% 0.069 299), rgb(66, 52, 92).

Aa

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

About this color

#42345C is a dark, muted purple. In OKLCH its lightness is 36%, its chroma 0.069 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.058 away. White text reads best on it, at 11.18:1.

Hue familyPurples
Lightnessdark (36%)
Chromamuted (0.069)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.87:1
White text11.18:1

Values

HEX#42345C
RGBrgb(66, 52, 92)
HSLhsl(261, 28%, 28%)
OKLCHoklch(35.9% 0.069 299)

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 #42345C 11.18:1 AAA Lc -99.6 Preferred for body text
Black text on #42345C 1.87:1 Fails Lc 8.1 Not readable
#42345C text on white 11.18:1 AAA Lc 95.8 Preferred for body text
#42345C text on black 1.87: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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F3

    oklch(93.7% 0.015 298.6)

  3. Step 200

    200

    #DBD5EA

    oklch(88.4% 0.029 298.8)

  4. Step 300

    300

    #C5BADE

    oklch(81% 0.051 299.2)

  5. Step 400

    400

    #A795CE

    oklch(70.6% 0.084 298.7)

  6. Step 500

    500

    #927AC1

    oklch(63% 0.107 298.9)

  7. Step 600

    600

    #7D62AD

    oklch(55.5% 0.116 299.2)

  8. Step 700

    700

    #6A5195

    oklch(49.1% 0.108 299.4)

  9. Step 800

    800

    #564379

    oklch(42.8% 0.089 298.8)

  10. Step 900

    900 (this color)

    #42345C

    oklch(35.9% 0.069 299)

  11. Step 950

    950

    #292139

    oklch(26.9% 0.045 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#42345C 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)#293B5E0.042
Deuteranopia (no green cones)#2C3B5B0.040
Tritanopia (no blue cones)#3D3B430.055
Achromatopsia (no color)#3B3B3B0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #42345C

    #42345C

    oklch(35.9% 0.069 299)

  • #394213

    #394213

    oklch(36% 0.069 119.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42345C

    #42345C

    oklch(35.9% 0.069 299)

  • #2E3B61

    #2E3B61

    oklch(36% 0.068 268.5)

  • #512F4F

    #512F4F

    oklch(36% 0.07 329)

Open the analogous palette in the generator

Split complementary

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

  • #42345C

    #42345C

    oklch(35.9% 0.069 299)

  • #4B3A06

    #4B3A06

    oklch(35.7% 0.069 88.9)

  • #1F4728

    #1F4728

    oklch(36% 0.07 149.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42345C

    #42345C

    oklch(35.9% 0.069 299)

  • #573313

    #573313

    oklch(35.9% 0.069 59.2)

  • #00483D

    #00483D

    oklch(35.9% 0.066 178.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42345C

    #42345C

    oklch(35.9% 0.069 299)

  • #5C2D27

    #5C2D27

    oklch(35.8% 0.07 28.6)

  • #394213

    #394213

    oklch(36% 0.069 119.3)

  • #00454E

    #00454E

    oklch(35.8% 0.062 209.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42345C 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.