#4E16A1#4E16A1

#4E16A1 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.197 H 292.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#4E16A1
RGBrgb(78, 22, 161)
HSLhsl(264, 76%, 36%)
HSVhsv(264, 86%, 63%)
CMYKcmyk(51.6%, 86.3%, 0%, 36.9%)
CIE-LABlab(26.06, 53.65, -63.32)
CIE-LCHlch(26.06, 82.99, 310.27°)
OKLaboklab(38.76% 0.0752 -0.1819)
OKLCHoklch(38.76% 0.197 292.5)
XYZxyz(9.8600, 4.7664, 34.1118)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E16A1 #69A116
analogous
#1623A1 #4E16A1 #9316A1
triadic
#4E16A1 #A14E16 #16A14E
tetradic
#4E16A1 #A11623 #69A116 #16A193
square
#4E16A1 #A11623 #69A116 #16A193
split-complementary
#4E16A1 #A19316 #23A116
monochromatic
#1A0735 #340F6B #4E16A1 #681DD7 #8A4BE6

Accessibility & contrast

On white

10.75
#4E16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4E16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E16A1
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E16A1#FFFFFF#000000##FFFFFF
##4E16A11.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#32425F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e16a1;
/* rgb */ color: rgb(78, 22, 161);
/* oklch */ color: oklch(38.8% 0.197 292.5);
Tailwind
colors: {
  custom: {
    50: '#895dbe',
    500: '#4e16a1',
    950: '#000000',
  },
}
SCSS
$custom: #4e16a1;
$custom-light: #895dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e16a1",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 264.173,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38755,
    "c": 0.19686,
    "h": 292.5
  },
  "luminance": 0.04767
}

Semantic roles & 50–950 ramp

primary
#4E16A1
secondary
#96C84B
accent
#F335A6
background
#F9F5FB
surface
#F1E9F7
border
#CBC5D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #4E16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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