#4E236F

Closest named color: Royal Purple (#4B006E). oklch(35.6% 0.128 307.1), rgb(78, 35, 111).

Aa

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

About this color

#4E236F is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.128 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.051 away. White text reads best on it, at 11.70:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.79:1
White text11.70:1

Values

HEX#4E236F
RGBrgb(78, 35, 111)
HSLhsl(274, 52%, 29%)
OKLCHoklch(35.6% 0.128 307.1)

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 #4E236F 11.70:1 AAA Lc -100.1 Preferred for body text
Black text on #4E236F 1.79:1 Fails Lc 7.5 Not readable
#4E236F text on white 11.70:1 AAA Lc 96.4 Preferred for body text
#4E236F text on black 1.79: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E2D0F5

    oklch(88.4% 0.054 307.2)

  4. Step 300

    300

    #D1B0F1

    oklch(80.8% 0.096 307.5)

  5. Step 400

    400

    #BA84EB

    oklch(70.7% 0.155 307)

  6. Step 500

    500

    #A961E4

    oklch(63.1% 0.196 307)

  7. Step 600

    600

    #9542D2

    oklch(55.7% 0.214 307.2)

  8. Step 700

    700

    #7F32B6

    oklch(49.2% 0.199 307.1)

  9. Step 800

    800

    #672B93

    oklch(42.7% 0.165 307.1)

  10. Step 900

    900 (this color)

    #4E236F

    oklch(35.6% 0.128 307.1)

  11. Step 950

    950

    #311945

    oklch(27% 0.082 306.9)

Export this scale for Tailwind in the Tailwind colors tool

#4E236F 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)#0037710.107
Deuteranopia (no green cones)#12386D0.099
Tritanopia (no blue cones)#4933450.092
Achromatopsia (no color)#3838380.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E236F

    #4E236F

    oklch(35.6% 0.128 307.1)

  • #2F4400

    #2F4400

    oklch(35.6% 0.092 126.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E236F

    #4E236F

    oklch(35.6% 0.128 307.1)

  • #2E307D

    #2E307D

    oklch(35.7% 0.128 276.6)

  • #631854

    #631854

    oklch(35.7% 0.128 337.2)

Open the analogous palette in the generator

Split complementary

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

  • #4E236F

    #4E236F

    oklch(35.6% 0.128 307.1)

  • #473C00

    #473C00

    oklch(35.7% 0.074 97.5)

  • #004929

    #004929

    oklch(35.7% 0.085 156.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E236F

    #4E236F

    oklch(35.6% 0.128 307.1)

  • #573300

    #573300

    oklch(35.7% 0.079 67.7)

  • #004642

    #004642

    oklch(35.5% 0.062 188.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E236F

    #4E236F

    oklch(35.6% 0.128 307.1)

  • #6D1C00

    #6D1C00

    oklch(35.8% 0.119 37.2)

  • #2F4400

    #2F4400

    oklch(35.6% 0.092 126.9)

  • #004452

    #004452

    oklch(35.7% 0.064 217.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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