#4E1549#4E1549

#4E1549 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.109 H 331.6°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#4E1549
RGBrgb(78, 21, 73)
HSLhsl(305, 58%, 19%)
HSVhsv(305, 73%, 31%)
CMYKcmyk(0%, 73.1%, 6.4%, 69.4%)
CIE-LABlab(18.53, 33.55, -18.91)
CIE-LCHlch(18.53, 38.51, 330.60°)
OKLaboklab(31.19% 0.0959 -0.0519)
OKLCHoklch(31.19% 0.109 331.6)
XYZxyz(4.6126, 2.6374, 6.5682)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1549 #154E1A
analogous
#37154E #4E1549 #4E152D
triadic
#4E1549 #494E15 #15494E
tetradic
#4E1549 #4E3715 #154E1A #152D4E
square
#4E1549 #4E3715 #154E1A #152D4E
split-complementary
#4E1549 #2D4E15 #154E37
monochromatic
#180617 #1E081C #4E1549 #7E2276 #AE2FA3

Accessibility & contrast

On white

13.75
#4E1549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E1549 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1549
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1549#FFFFFF#000000##FFFFFF
##4E15491.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12284B
Deuteranopia (green-blind)
#263048
Tritanopia (blue-blind)
#511B2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1549;
/* rgb */ color: rgb(78, 21, 73);
/* oklch */ color: oklch(31.2% 0.109 331.6);
Tailwind
colors: {
  custom: {
    50: '#82587c',
    500: '#4e1549',
    950: '#000000',
  },
}
SCSS
$custom: #4e1549;
$custom-light: #82587c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1549",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 73
  },
  "hsl": {
    "h": 305.263,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31192,
    "c": 0.10901,
    "h": 331.6
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#4E1549
secondary
#398640
accent
#E15447
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1549

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

Preview Lab → · Contrast checker → · Palette generator →

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