#4E1D80#4E1D80

#4E1D80 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.155 H 301.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#4E1D80
RGBrgb(78, 29, 128)
HSLhsl(270, 63%, 31%)
HSVhsv(270, 77%, 50%)
CMYKcmyk(39.1%, 77.3%, 0%, 49.8%)
CIE-LABlab(23.86, 42.43, -46.48)
CIE-LCHlch(23.86, 62.93, 312.39°)
OKLaboklab(36.27% 0.081 -0.1326)
OKLCHoklch(36.27% 0.155 301.4)
XYZxyz(7.4766, 4.0569, 20.8071)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D80 #4F801D
analogous
#1D1D80 #4E1D80 #7F1D80
triadic
#4E1D80 #804E1D #1D804E
tetradic
#4E1D80 #801D1D #4F801D #1D807F
square
#4E1D80 #801D1D #4F801D #1D807F
split-complementary
#4E1D80 #807F1D #1D801D
monochromatic
#11061C #30124E #4E1D80 #6C28B2 #8B43D4

Accessibility & contrast

On white

11.59
#4E1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D80
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D80#FFFFFF#000000##FFFFFF
##4E1D801.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#43364D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e1d80;
/* rgb */ color: rgb(78, 29, 128);
/* oklch */ color: oklch(36.3% 0.155 301.4);
Tailwind
colors: {
  custom: {
    50: '#855ea6',
    500: '#4e1d80',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d80;
$custom-light: #855ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d80",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 269.697,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36272,
    "c": 0.1554,
    "h": 301.4
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#4E1D80
secondary
#7DB345
accent
#E64295
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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