#4B345D

Closest named color: Onyx (#343A40). oklch(37% 0.074 309), rgb(75, 52, 93).

Aa

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

About this color

#4B345D is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.074 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.072 away. White text reads best on it, at 10.77:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.94:1
White text10.77:1

Values

HEX#4B345D
RGBrgb(75, 52, 93)
HSLhsl(274, 28%, 28%)
OKLCHoklch(37% 0.074 309)

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 #4B345D 10.77:1 AAA Lc -98.8 Preferred for body text
Black text on #4B345D 1.94:1 Fails Lc 9.0 Not readable
#4B345D text on white 10.77:1 AAA Lc 94.9 Preferred for body text
#4B345D text on black 1.94:1 Fails Lc -7.7 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #DFD4E9

    oklch(88.5% 0.031 309.1)

  4. Step 300

    300

    #CBB7DC

    oklch(80.8% 0.056 309.4)

  5. Step 400

    400

    #B192CB

    oklch(70.8% 0.088 309)

  6. Step 500

    500

    #9D76BD

    oklch(63.1% 0.112 308.7)

  7. Step 600

    600

    #885DA9

    oklch(55.5% 0.122 309)

  8. Step 700

    700

    #744C91

    oklch(49.1% 0.115 309.5)

  9. Step 800

    800

    #5E3F76

    oklch(42.7% 0.095 308.9)

  10. Step 900

    900 (this color)

    #4B345D

    oklch(37% 0.074 309)

  11. Step 950

    950

    #2D2038

    oklch(27.1% 0.047 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#4B345D 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)#2B3C5F0.055
Deuteranopia (no green cones)#313E5C0.050
Tritanopia (no blue cones)#493A440.052
Achromatopsia (no color)#3E3E3E0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #4B345D

    #4B345D

    oklch(37% 0.074 309)

  • #334719

    #334719

    oklch(36.9% 0.074 129.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4B345D

    #4B345D

    oklch(37% 0.074 309)

  • #383B66

    #383B66

    oklch(37.1% 0.073 279.1)

  • #592F4C

    #592F4C

    oklch(37% 0.074 339.8)

Open the analogous palette in the generator

Split complementary

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

  • #4B345D

    #4B345D

    oklch(37% 0.074 309)

  • #494005

    #494005

    oklch(37% 0.074 99.8)

  • #134B31

    #134B31

    oklch(36.9% 0.073 159)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4B345D

    #4B345D

    oklch(37% 0.074 309)

  • #58370A

    #58370A

    oklch(36.8% 0.074 68.9)

  • #004A47

    #004A47

    oklch(36.9% 0.064 190.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4B345D

    #4B345D

    oklch(37% 0.074 309)

  • #603121

    #603121

    oklch(37.1% 0.073 39.4)

  • #334719

    #334719

    oklch(36.9% 0.074 129.2)

  • #004858

    #004858

    oklch(37.1% 0.067 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4B345D 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.