#4E1D83#4E1D83

#4E1D83 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.159 H 300.4°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#4E1D83
RGBrgb(78, 29, 131)
HSLhsl(269, 64%, 31%)
HSVhsv(269, 78%, 51%)
CMYKcmyk(40.5%, 77.9%, 0%, 48.6%)
CIE-LABlab(24.12, 43.20, -47.94)
CIE-LCHlch(24.12, 64.54, 312.02°)
OKLaboklab(36.54% 0.0802 -0.1369)
OKLCHoklch(36.54% 0.159 300.4)
XYZxyz(7.6770, 4.1371, 21.8624)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D83 #52831D
analogous
#1D1F83 #4E1D83 #811D83
triadic
#4E1D83 #834E1D #1D834E
tetradic
#4E1D83 #831D1F #52831D #1D8381
square
#4E1D83 #831D1F #52831D #1D8381
split-complementary
#4E1D83 #83811D #1F831D
monochromatic
#12071F #301251 #4E1D83 #6C28B5 #8A45D6

Accessibility & contrast

On white

11.49
#4E1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1D83
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D83#FFFFFF#000000##FFFFFF
##4E1D831.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1d83;
/* rgb */ color: rgb(78, 29, 131);
/* oklch */ color: oklch(36.5% 0.159 300.4);
Tailwind
colors: {
  custom: {
    50: '#855fa8',
    500: '#4e1d83',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d83;
$custom-light: #855fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d83",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 268.824,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36536,
    "c": 0.15871,
    "h": 300.4
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#4E1D83
secondary
#80B646
accent
#E74197
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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