#4F1238

Closest named color: Deep Violet (#490648). oklch(30.1% 0.101 346.6), rgb(79, 18, 56).

Aa

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

About this color

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

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

Values

HEX#4F1238
RGBrgb(79, 18, 56)
HSLhsl(323, 63%, 19%)
OKLCHoklch(30.1% 0.101 346.6)

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 #4F1238 14.22:1 AAA Lc -103.3 Preferred for body text
Black text on #4F1238 1.47:1 Fails Lc 0.0 Not readable
#4F1238 text on white 14.22:1 AAA Lc 100.3 Preferred for body text
#4F1238 text on black 1.47: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

    #FCE1EE

    oklch(93.5% 0.034 347.1)

  3. Step 200

    200

    #FBC8E2

    oklch(88.5% 0.067 346.5)

  4. Step 300

    300

    #F9A1D0

    oklch(81% 0.119 346.8)

  5. Step 400

    400

    #F167B8

    oklch(70.8% 0.19 346.8)

  6. Step 500

    500

    #E72AA6

    oklch(63.1% 0.244 346.6)

  7. Step 600

    600

    #C9008E

    oklch(55.5% 0.235 346.5)

  8. Step 700

    700

    #AA0078

    oklch(49% 0.207 346.3)

  9. Step 800

    800

    #8D0062

    oklch(42.7% 0.18 346.7)

  10. Step 900

    900

    #760052

    oklch(37.6% 0.159 346.4)

  11. Step 950

    950 (this color)

    #4F1238

    oklch(30.1% 0.101 346.6)

Export this scale for Tailwind in the Tailwind colors tool

#4F1238 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)#1A24390.111
Deuteranopia (no green cones)#2C2E370.097
Tritanopia (no blue cones)#5510230.040
Achromatopsia (no color)#2B2B2B0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F1238

    #4F1238

    oklch(30.1% 0.101 346.6)

  • #003827

    #003827

    oklch(30.2% 0.063 166.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F1238

    #4F1238

    oklch(30.1% 0.101 346.6)

  • #41194F

    #41194F

    oklch(30% 0.101 316.3)

  • #56101B

    #56101B

    oklch(30.2% 0.101 17.3)

Open the analogous palette in the generator

Split complementary

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

  • #4F1238

    #4F1238

    oklch(30.1% 0.101 346.6)

  • #153800

    #153800

    oklch(30.2% 0.091 136.7)

  • #003637

    #003637

    oklch(30.2% 0.051 196.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F1238

    #4F1238

    oklch(30.1% 0.101 346.6)

  • #323000

    #323000

    oklch(30.1% 0.065 107.2)

  • #003344

    #003344

    oklch(29.9% 0.058 227)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F1238

    #4F1238

    oklch(30.1% 0.101 346.6)

  • #402900

    #402900

    oklch(30.2% 0.063 76.2)

  • #003827

    #003827

    oklch(30.2% 0.063 166.1)

  • #032C5F

    #032C5F

    oklch(30.1% 0.101 256.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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