#4E1849#4E1849

#4E1849 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.6% C 0.104 H 331.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#4E1849
RGBrgb(78, 24, 73)
HSLhsl(306, 53%, 20%)
HSVhsv(306, 69%, 31%)
CMYKcmyk(0%, 69.2%, 6.4%, 69.4%)
CIE-LABlab(19.03, 32.15, -18.12)
CIE-LCHlch(19.03, 36.90, 330.60°)
OKLaboklab(31.56% 0.0918 -0.0497)
OKLCHoklch(31.56% 0.104 331.6)
XYZxyz(4.6711, 2.7544, 6.5877)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1849 #184E1D
analogous
#38184E #4E1849 #4E182E
triadic
#4E1849 #494E18 #18494E
tetradic
#4E1849 #4E3818 #184E1D #182E4E
square
#4E1849 #4E3818 #184E1D #182E4E
split-complementary
#4E1849 #2E4E18 #184E38
monochromatic
#170716 #1F0A1D #4E1849 #7D2675 #AC35A1

Accessibility & contrast

On white

13.54
#4E1849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1849
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1849#FFFFFF#000000##FFFFFF
##4E18491.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15294A
Deuteranopia (green-blind)
#273148
Tritanopia (blue-blind)
#511D2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1849;
/* rgb */ color: rgb(78, 24, 73);
/* oklch */ color: oklch(31.6% 0.104 331.6);
Tailwind
colors: {
  custom: {
    50: '#82597c',
    500: '#4e1849',
    950: '#000000',
  },
}
SCSS
$custom: #4e1849;
$custom-light: #82597c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1849",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 305.556,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31557,
    "c": 0.10438,
    "h": 331.6
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#4E1849
secondary
#3D8544
accent
#DC594B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1849

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

Preview Lab → · Contrast checker → · Palette generator →

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