#5C16A0#5C16A0

#5C16A0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.197 H 299.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#5C16A0
RGBrgb(92, 22, 160)
HSLhsl(270, 76%, 36%)
HSVhsv(270, 86%, 63%)
CMYKcmyk(42.5%, 86.3%, 0%, 37.3%)
CIE-LABlab(27.81, 55.15, -59.76)
CIE-LCHlch(27.81, 81.32, 312.70°)
OKLaboklab(40.33% 0.0978 -0.1711)
OKLCHoklch(40.33% 0.197 299.8)
XYZxyz(11.0441, 5.3871, 33.7088)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C16A0 #5AA016
analogous
#1716A0 #5C16A0 #A0169F
triadic
#5C16A0 #A05C16 #16A05C
tetradic
#5C16A0 #A01716 #5AA016 #169FA0
square
#5C16A0 #A01716 #5AA016 #169FA0
split-complementary
#5C16A0 #9FA016 #16A017
monochromatic
#1E0734 #3D0F6A #5C16A0 #7B1DD6 #994AE6

Accessibility & contrast

On white

10.11
#5C16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5C16A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C16A0
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C16A0#FFFFFF#000000##FFFFFF
##5C16A01.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#4B405E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c16a0;
/* rgb */ color: rgb(92, 22, 160);
/* oklch */ color: oklch(40.3% 0.197 299.8);
Tailwind
colors: {
  custom: {
    50: '#925fbd',
    500: '#5c16a0',
    950: '#000000',
  },
}
SCSS
$custom: #5c16a0;
$custom-light: #925fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c16a0",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 270.435,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.19705,
    "h": 299.8
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#5C16A0
secondary
#88C84A
accent
#F23593
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #5C16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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