#5E16A0#5E16A0

#5E16A0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.6% C 0.197 H 300.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#5E16A0
RGBrgb(94, 22, 160)
HSLhsl(271, 76%, 36%)
HSVhsv(271, 86%, 63%)
CMYKcmyk(41.3%, 86.3%, 0%, 37.3%)
CIE-LABlab(28.09, 55.42, -59.29)
CIE-LCHlch(28.09, 81.16, 313.07°)
OKLaboklab(40.58% 0.1009 -0.1696)
OKLCHoklch(40.58% 0.197 300.7)
XYZxyz(11.2466, 5.4915, 33.7183)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E16A0 #58A016
analogous
#1916A0 #5E16A0 #A0169D
triadic
#5E16A0 #A05E16 #16A05E
tetradic
#5E16A0 #A01916 #58A016 #169DA0
square
#5E16A0 #A01916 #58A016 #169DA0
split-complementary
#5E16A0 #9DA016 #16A019
monochromatic
#1F0734 #3E0F6A #5E16A0 #7E1DD6 #9C4AE6

Accessibility & contrast

On white

10.01
#5E16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5E16A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E16A0
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E16A0#FFFFFF#000000##FFFFFF
##5E16A01.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#4E405E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5e16a0;
/* rgb */ color: rgb(94, 22, 160);
/* oklch */ color: oklch(40.6% 0.197 300.7);
Tailwind
colors: {
  custom: {
    50: '#935fbd',
    500: '#5e16a0',
    950: '#000000',
  },
}
SCSS
$custom: #5e16a0;
$custom-light: #935fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e16a0",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 271.304,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40584,
    "c": 0.19736,
    "h": 300.7
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#5E16A0
secondary
#86C84A
accent
#F23590
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #5E16A0

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

Preview Lab → · Contrast checker → · Palette generator →

#5E16A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva