#4E1848#4E1848

#4E1848 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.103 H 332.4°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#4E1848
RGBrgb(78, 24, 72)
HSLhsl(307, 53%, 20%)
HSVhsv(307, 69%, 31%)
CMYKcmyk(0%, 69.2%, 7.7%, 69.4%)
CIE-LABlab(18.98, 31.96, -17.52)
CIE-LCHlch(18.98, 36.44, 331.27°)
OKLaboklab(31.5% 0.0917 -0.048)
OKLCHoklch(31.5% 0.103 332.4)
XYZxyz(4.6382, 2.7412, 6.4144)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1848 #184E1E
analogous
#39184E #4E1848 #4E182D
triadic
#4E1848 #484E18 #18484E
tetradic
#4E1848 #4E3918 #184E1E #182D4E
square
#4E1848 #4E3918 #184E1E #182D4E
split-complementary
#4E1848 #2D4E18 #184E39
monochromatic
#170716 #1F0A1D #4E1848 #7D2673 #AC359E

Accessibility & contrast

On white

13.56
#4E1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1848
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1848#FFFFFF#000000##FFFFFF
##4E18481.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162949
Deuteranopia (green-blind)
#283147
Tritanopia (blue-blind)
#521D2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1848;
/* rgb */ color: rgb(78, 24, 72);
/* oklch */ color: oklch(31.5% 0.103 332.4);
Tailwind
colors: {
  custom: {
    50: '#82597b',
    500: '#4e1848',
    950: '#000000',
  },
}
SCSS
$custom: #4e1848;
$custom-light: #82597b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1848",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 306.667,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31498,
    "c": 0.10346,
    "h": 332.4
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#4E1848
secondary
#3D8545
accent
#DC5C4B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1848

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4E1848 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva