#4E1D85#4E1D85

#4E1D85 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.161 H 299.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#4E1D85
RGBrgb(78, 29, 133)
HSLhsl(268, 64%, 32%)
HSVhsv(268, 78%, 52%)
CMYKcmyk(41.4%, 78.2%, 0%, 47.8%)
CIE-LABlab(24.30, 43.72, -48.91)
CIE-LCHlch(24.30, 65.60, 311.79°)
OKLaboklab(36.71% 0.0797 -0.1398)
OKLCHoklch(36.71% 0.161 299.7)
XYZxyz(7.8138, 4.1918, 22.5832)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D85 #54851D
analogous
#1D2085 #4E1D85 #821D85
triadic
#4E1D85 #854E1D #1D854E
tetradic
#4E1D85 #851D20 #54851D #1D8582
square
#4E1D85 #851D20 #54851D #1D8582
split-complementary
#4E1D85 #85821D #20851D
monochromatic
#130721 #311253 #4E1D85 #6B28B7 #8A46D7

Accessibility & contrast

On white

11.42
#4E1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D85
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D85#FFFFFF#000000##FFFFFF
##4E1D851.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#413850
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e1d85;
/* rgb */ color: rgb(78, 29, 133);
/* oklch */ color: oklch(36.7% 0.161 299.7);
Tailwind
colors: {
  custom: {
    50: '#855fa9',
    500: '#4e1d85',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d85;
$custom-light: #855fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d85",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 268.269,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36714,
    "c": 0.1609,
    "h": 299.7
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#4E1D85
secondary
#82B846
accent
#E74199
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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