#5E15A0#5E15A0

#5E15A0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.198 H 300.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#5E15A0
RGBrgb(94, 21, 160)
HSLhsl(272, 77%, 35%)
HSVhsv(272, 87%, 63%)
CMYKcmyk(41.3%, 86.9%, 0%, 37.3%)
CIE-LABlab(27.99, 55.72, -59.46)
CIE-LCHlch(27.99, 81.48, 313.14°)
OKLaboklab(40.52% 0.1015 -0.1701)
OKLCHoklch(40.52% 0.198 300.8)
XYZxyz(11.2278, 5.4540, 33.7121)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E15A0 #57A015
analogous
#1815A0 #5E15A0 #A0159C
triadic
#5E15A0 #A05E15 #15A05E
tetradic
#5E15A0 #A01815 #57A015 #159CA0
square
#5E15A0 #A01815 #57A015 #159CA0
split-complementary
#5E15A0 #9CA015 #15A018
monochromatic
#1E0734 #3E0E6A #5E15A0 #7E1CD6 #9C48E7

Accessibility & contrast

On white

10.04
#5E15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5E15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E15A0
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E15A0#FFFFFF#000000##FFFFFF
##5E15A01.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e15a0;
/* rgb */ color: rgb(94, 21, 160);
/* oklch */ color: oklch(40.5% 0.198 300.8);
Tailwind
colors: {
  custom: {
    50: '#935fbd',
    500: '#5e15a0',
    950: '#000000',
  },
}
SCSS
$custom: #5e15a0;
$custom-light: #935fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e15a0",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 271.511,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40515,
    "c": 0.19807,
    "h": 300.8
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#5E15A0
secondary
#85C849
accent
#F3348F
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #5E15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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