#5915A0#5915A0

#5915A0 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.9% C 0.197 H 298.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#5915A0
RGBrgb(89, 21, 160)
HSLhsl(269, 77%, 35%)
HSVhsv(269, 87%, 63%)
CMYKcmyk(44.4%, 86.9%, 0%, 37.3%)
CIE-LABlab(27.29, 55.06, -60.63)
CIE-LCHlch(27.29, 81.90, 312.24°)
OKLaboklab(39.89% 0.0937 -0.1737)
OKLCHoklch(39.89% 0.197 298.3)
XYZxyz(10.7315, 5.1981, 33.6888)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5915A0 #5CA015
analogous
#1516A0 #5915A0 #9F15A0
triadic
#5915A0 #A05915 #15A059
tetradic
#5915A0 #A01516 #5CA015 #15A09F
square
#5915A0 #A01516 #5CA015 #15A09F
split-complementary
#5915A0 #A09F15 #16A015
monochromatic
#1D0734 #3B0E6A #5915A0 #771CD6 #9648E7

Accessibility & contrast

On white

10.30
#5915A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5915A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5915A0
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5915A0#FFFFFF#000000##FFFFFF
##5915A01.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5915a0;
/* rgb */ color: rgb(89, 21, 160);
/* oklch */ color: oklch(39.9% 0.197 298.3);
Tailwind
colors: {
  custom: {
    50: '#905ebd',
    500: '#5915a0',
    950: '#000000',
  },
}
SCSS
$custom: #5915a0;
$custom-light: #905ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#5915a0",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 269.353,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39886,
    "c": 0.19737,
    "h": 298.3
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#5915A0
secondary
#8AC849
accent
#F33496
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #5915A0

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

Preview Lab → · Contrast checker → · Palette generator →

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