#4E1E85#4E1E85

#4E1E85 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.160 H 299.5°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#4E1E85
RGBrgb(78, 30, 133)
HSLhsl(268, 63%, 32%)
HSVhsv(268, 77%, 52%)
CMYKcmyk(41.4%, 77.4%, 0%, 47.8%)
CIE-LABlab(24.45, 43.27, -48.65)
CIE-LCHlch(24.45, 65.11, 311.65°)
OKLaboklab(36.83% 0.0788 -0.139)
OKLCHoklch(36.83% 0.16 299.5)
XYZxyz(7.8387, 4.2416, 22.5915)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E85 #55851E
analogous
#1E2285 #4E1E85 #821E85
triadic
#4E1E85 #854E1E #1E854E
tetradic
#4E1E85 #851E22 #55851E #1E8582
square
#4E1E85 #851E22 #55851E #1E8582
split-complementary
#4E1E85 #85821E #22851E
monochromatic
#130721 #311353 #4E1E85 #6B29B7 #8A48D6

Accessibility & contrast

On white

11.36
#4E1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E85
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E85#FFFFFF#000000##FFFFFF
##4E1E851.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1e85;
/* rgb */ color: rgb(78, 30, 133);
/* oklch */ color: oklch(36.8% 0.160 299.5);
Tailwind
colors: {
  custom: {
    50: '#855fa9',
    500: '#4e1e85',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e85;
$custom-light: #855fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e85",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 267.961,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.1598,
    "h": 299.5
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#4E1E85
secondary
#83B847
accent
#E64299
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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