#4E1238

Closest named color: Deep Violet (#490648). oklch(29.9% 0.1 345.9), rgb(78, 18, 56).

Aa

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

About this color

#4E1238 is a dark, moderately saturated red. In OKLCH its lightness is 30%, its chroma 0.100 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.042 away. White text reads best on it, at 14.30:1.

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.46:1
White text14.30:1

Values

HEX#4E1238
RGBrgb(78, 18, 56)
HSLhsl(322, 63%, 19%)
OKLCHoklch(29.9% 0.1 345.9)

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 #4E1238 14.30:1 AAA Lc -103.4 Preferred for body text
Black text on #4E1238 1.46:1 Fails Lc 0.0 Not readable
#4E1238 text on white 14.30:1 AAA Lc 100.4 Preferred for body text
#4E1238 text on black 1.46: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 950.

  1. Step 50

    50

    #FEF1F8

    oklch(97% 0.017 343.6)

  2. Step 100

    100

    #FCE1EF

    oklch(93.6% 0.035 345.1)

  3. Step 200

    200

    #FAC8E2

    oklch(88.4% 0.066 345.9)

  4. Step 300

    300

    #F8A1D1

    oklch(80.9% 0.118 345.9)

  5. Step 400

    400

    #F067B9

    oklch(70.7% 0.19 346.1)

  6. Step 500

    500

    #E62DA8

    oklch(63.2% 0.242 345.9)

  7. Step 600

    600

    #C90090

    oklch(55.6% 0.236 345.8)

  8. Step 700

    700

    #AA0079

    oklch(49.1% 0.208 345.9)

  9. Step 800

    800

    #8D0063

    oklch(42.8% 0.181 346.3)

  10. Step 900

    900

    #760353

    oklch(37.8% 0.158 346)

  11. Step 950

    950 (this color)

    #4E1238

    oklch(29.9% 0.1 345.9)

Export this scale for Tailwind in the Tailwind colors tool

#4E1238 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)#1924390.111
Deuteranopia (no green cones)#2B2E370.097
Tritanopia (no blue cones)#5411230.041
Achromatopsia (no color)#2A2A2A0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E1238

    #4E1238

    oklch(29.9% 0.1 345.9)

  • #003726

    #003726

    oklch(29.9% 0.062 165.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E1238

    #4E1238

    oklch(29.9% 0.1 345.9)

  • #40194E

    #40194E

    oklch(29.8% 0.1 316.1)

  • #550F1C

    #550F1C

    oklch(29.9% 0.101 15.7)

Open the analogous palette in the generator

Split complementary

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

  • #4E1238

    #4E1238

    oklch(29.9% 0.1 345.9)

  • #163700

    #163700

    oklch(30% 0.089 136.1)

  • #003536

    #003536

    oklch(29.8% 0.051 196.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E1238

    #4E1238

    oklch(29.9% 0.1 345.9)

  • #322F00

    #322F00

    oklch(29.9% 0.064 105.8)

  • #003343

    #003343

    oklch(29.9% 0.057 225.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E1238

    #4E1238

    oklch(29.9% 0.1 345.9)

  • #3F2800

    #3F2800

    oklch(29.8% 0.063 75.7)

  • #003726

    #003726

    oklch(29.9% 0.062 165.8)

  • #012C5E

    #012C5E

    oklch(29.9% 0.1 255.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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