#4E1B83#4E1B83

#4E1B83 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.161 H 300.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#4E1B83
RGBrgb(78, 27, 131)
HSLhsl(269, 66%, 31%)
HSVhsv(269, 79%, 51%)
CMYKcmyk(40.5%, 79.4%, 0%, 48.6%)
CIE-LABlab(23.81, 44.09, -48.45)
CIE-LCHlch(23.81, 65.51, 312.30°)
OKLaboklab(36.32% 0.082 -0.1384)
OKLCHoklch(36.32% 0.161 300.7)
XYZxyz(7.6295, 4.0422, 21.8466)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B83 #50831B
analogous
#1B1C83 #4E1B83 #821B83
triadic
#4E1B83 #834E1B #1B834E
tetradic
#4E1B83 #831B1C #50831B #1B8382
square
#4E1B83 #831B1C #50831B #1B8382
split-complementary
#4E1B83 #83821B #1C831B
monochromatic
#12061E #301150 #4E1B83 #6C25B6 #8B41D8

Accessibility & contrast

On white

11.61
#4E1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B83
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B83#FFFFFF#000000##FFFFFF
##4E1B831.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#42374E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e1b83;
/* rgb */ color: rgb(78, 27, 131);
/* oklch */ color: oklch(36.3% 0.161 300.7);
Tailwind
colors: {
  custom: {
    50: '#855ea8',
    500: '#4e1b83',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b83;
$custom-light: #855ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b83",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 269.423,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36319,
    "c": 0.16089,
    "h": 300.7
  },
  "luminance": 0.04042
}

Semantic roles & 50–950 ramp

primary
#4E1B83
secondary
#7EB643
accent
#E93F96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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