#4E1E83#4E1E83

#4E1E83 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.158 H 300.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#4E1E83
RGBrgb(78, 30, 131)
HSLhsl(269, 63%, 32%)
HSVhsv(269, 77%, 51%)
CMYKcmyk(40.5%, 77.1%, 0%, 48.6%)
CIE-LABlab(24.28, 42.75, -47.68)
CIE-LCHlch(24.28, 64.04, 311.88°)
OKLaboklab(36.65% 0.0793 -0.1362)
OKLCHoklch(36.65% 0.158 300.2)
XYZxyz(7.7019, 4.1869, 21.8707)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E83 #53831E
analogous
#1E2183 #4E1E83 #811E83
triadic
#4E1E83 #834E1E #1E834E
tetradic
#4E1E83 #831E21 #53831E #1E8381
square
#4E1E83 #831E21 #53831E #1E8381
split-complementary
#4E1E83 #83811E #21831E
monochromatic
#13071F #301351 #4E1E83 #6C29B5 #8A47D5

Accessibility & contrast

On white

11.43
#4E1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E83
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E83#FFFFFF#000000##FFFFFF
##4E1E831.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#42384F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e1e83;
/* rgb */ color: rgb(78, 30, 131);
/* oklch */ color: oklch(36.6% 0.158 300.2);
Tailwind
colors: {
  custom: {
    50: '#855fa8',
    500: '#4e1e83',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e83;
$custom-light: #855fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e83",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 268.515,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36649,
    "c": 0.15757,
    "h": 300.2
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#4E1E83
secondary
#81B647
accent
#E64298
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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