#4E1557#4E1557

#4E1557 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.122 H 321.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#4E1557
RGBrgb(78, 21, 87)
HSLhsl(292, 61%, 21%)
HSVhsv(292, 76%, 34%)
CMYKcmyk(10.3%, 75.9%, 0%, 65.9%)
CIE-LABlab(19.41, 36.33, -27.01)
CIE-LCHlch(19.41, 45.27, 323.37°)
OKLaboklab(32.11% 0.0962 -0.0754)
OKLCHoklch(32.11% 0.122 321.9)
XYZxyz(5.1302, 2.8444, 9.2938)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1557 #1E5715
analogous
#2D1557 #4E1557 #57153F
triadic
#4E1557 #574E15 #15574E
tetradic
#4E1557 #572D15 #1E5715 #153F57
square
#4E1557 #572D15 #1E5715 #153F57
split-complementary
#4E1557 #3F5715 #15572D
monochromatic
#160619 #220926 #4E1557 #7A2188 #A62DBA

Accessibility & contrast

On white

13.39
#4E1557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1557 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1557
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1557#FFFFFF#000000##FFFFFF
##4E15571.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B59
Deuteranopia (green-blind)
#1E3155
Tritanopia (blue-blind)
#4F2134
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1557;
/* rgb */ color: rgb(78, 21, 87);
/* oklch */ color: oklch(32.1% 0.122 321.9);
Tailwind
colors: {
  custom: {
    50: '#825887',
    500: '#4e1557',
    950: '#000000',
  },
}
SCSS
$custom: #4e1557;
$custom-light: #825887;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1557",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 87
  },
  "hsl": {
    "h": 291.818,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3211,
    "c": 0.12223,
    "h": 321.9
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#4E1557
secondary
#458F39
accent
#E44459
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1557

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

Preview Lab → · Contrast checker → · Palette generator →

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