#4E1C85#4E1C85

#4E1C85 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.162 H 299.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#4E1C85
RGBrgb(78, 28, 133)
HSLhsl(269, 65%, 32%)
HSVhsv(269, 79%, 52%)
CMYKcmyk(41.4%, 78.9%, 0%, 47.8%)
CIE-LABlab(24.14, 44.17, -49.17)
CIE-LCHlch(24.14, 66.09, 311.93°)
OKLaboklab(36.61% 0.0806 -0.1405)
OKLCHoklch(36.61% 0.162 299.8)
XYZxyz(7.7897, 4.1436, 22.5751)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C85 #53851C
analogous
#1C1F85 #4E1C85 #831C85
triadic
#4E1C85 #854E1C #1C854E
tetradic
#4E1C85 #851C1F #53851C #1C8583
square
#4E1C85 #851C1F #53851C #1C8583
split-complementary
#4E1C85 #85831C #1F851C
monochromatic
#130720 #301152 #4E1C85 #6C27B8 #8A44D8

Accessibility & contrast

On white

11.48
#4E1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E1C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C85
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C85#FFFFFF#000000##FFFFFF
##4E1C851.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#413850
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e1c85;
/* rgb */ color: rgb(78, 28, 133);
/* oklch */ color: oklch(36.6% 0.162 299.8);
Tailwind
colors: {
  custom: {
    50: '#855ea9',
    500: '#4e1c85',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c85;
$custom-light: #855ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c85",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 268.571,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36606,
    "c": 0.16199,
    "h": 299.8
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#4E1C85
secondary
#81B845
accent
#E84098
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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