#5815A0#5815A0

#5815A0 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.8% C 0.197 H 297.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#5815A0
RGBrgb(88, 21, 160)
HSLhsl(269, 77%, 35%)
HSVhsv(269, 87%, 63%)
CMYKcmyk(45%, 86.9%, 0%, 37.3%)
CIE-LABlab(27.15, 54.93, -60.86)
CIE-LCHlch(27.15, 81.99, 312.07°)
OKLaboklab(39.76% 0.0921 -0.1744)
OKLCHoklch(39.76% 0.197 297.8)
XYZxyz(10.6362, 5.1489, 33.6843)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5815A0 #5DA015
analogous
#1517A0 #5815A0 #9D15A0
triadic
#5815A0 #A05815 #15A058
tetradic
#5815A0 #A01517 #5DA015 #15A09D
square
#5815A0 #A01517 #5DA015 #15A09D
split-complementary
#5815A0 #A09D15 #17A015
monochromatic
#1C0734 #3A0E6A #5815A0 #761CD6 #9548E7

Accessibility & contrast

On white

10.35
#5815A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5815A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5815A0
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5815A0#FFFFFF#000000##FFFFFF
##5815A01.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#45405E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5815a0;
/* rgb */ color: rgb(88, 21, 160);
/* oklch */ color: oklch(39.8% 0.197 297.8);
Tailwind
colors: {
  custom: {
    50: '#8f5ebd',
    500: '#5815a0',
    950: '#000000',
  },
}
SCSS
$custom: #5815a0;
$custom-light: #8f5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#5815a0",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 268.921,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39762,
    "c": 0.19725,
    "h": 297.8
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#5815A0
secondary
#8BC849
accent
#F33497
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5815A0

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

Preview Lab → · Contrast checker → · Palette generator →

#5815A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva