#4A1838

Closest named color: Deep Violet (#490648). oklch(30% 0.087 344.3), rgb(74, 24, 56).

Aa

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

About this color

#4A1838 is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.087 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.047 away. White text reads best on it, at 14.19:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.47:1
White text14.19:1

Values

HEX#4A1838
RGBrgb(74, 24, 56)
HSLhsl(322, 51%, 19%)
OKLCHoklch(30% 0.087 344.3)

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 #4A1838 14.19:1 AAA Lc -103.5 Preferred for body text
Black text on #4A1838 1.47:1 Fails Lc 0.0 Not readable
#4A1838 text on white 14.19:1 AAA Lc 100.5 Preferred for body text
#4A1838 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

    #FDF2F8

    oklch(97.1% 0.014 343.2)

  2. Step 100

    100

    #F9E2EF

    oklch(93.5% 0.03 342.6)

  3. Step 200

    200

    #F6CBE2

    oklch(88.6% 0.057 344.9)

  4. Step 300

    300

    #F0A6D1

    oklch(80.9% 0.102 343.9)

  5. Step 400

    400

    #E572B9

    oklch(70.7% 0.164 344.2)

  6. Step 500

    500

    #DA45A7

    oklch(63.1% 0.209 344.4)

  7. Step 600

    600

    #C51493

    oklch(55.6% 0.228 344)

  8. Step 700

    700

    #A9007C

    oklch(49.1% 0.209 344.4)

  9. Step 800

    800

    #8A0A65

    oklch(42.7% 0.175 344.5)

  10. Step 900

    900

    #6F1753

    oklch(37.7% 0.137 344)

  11. Step 950

    950 (this color)

    #4A1838

    oklch(30% 0.087 344.3)

Export this scale for Tailwind in the Tailwind colors tool

#4A1838 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)#1C26390.095
Deuteranopia (no green cones)#2B2E370.083
Tritanopia (no blue cones)#4F18250.037
Achromatopsia (no color)#2B2B2B0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A1838

    #4A1838

    oklch(30% 0.087 344.3)

  • #003725

    #003725

    oklch(29.8% 0.063 164.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A1838

    #4A1838

    oklch(30% 0.087 344.3)

  • #3D1E4B

    #3D1E4B

    oklch(30% 0.085 314.2)

  • #501620

    #501620

    oklch(29.9% 0.087 14)

Open the analogous palette in the generator

Split complementary

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

  • #4A1838

    #4A1838

    oklch(30% 0.087 344.3)

  • #193600

    #193600

    oklch(29.8% 0.086 134.4)

  • #003635

    #003635

    oklch(30.1% 0.052 192.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A1838

    #4A1838

    oklch(30% 0.087 344.3)

  • #332F00

    #332F00

    oklch(30% 0.063 104.5)

  • #003343

    #003343

    oklch(29.9% 0.057 225.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A1838

    #4A1838

    oklch(30% 0.087 344.3)

  • #402800

    #402800

    oklch(29.9% 0.063 74.4)

  • #003725

    #003725

    oklch(29.8% 0.063 164.5)

  • #072E58

    #072E58

    oklch(30.1% 0.087 254.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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