#5E1590#5E1590

#5E1590 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.1% C 0.183 H 305.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#5E1590
RGBrgb(94, 21, 144)
HSLhsl(276, 75%, 32%)
HSVhsv(276, 85%, 56%)
CMYKcmyk(34.7%, 85.4%, 0%, 43.5%)
CIE-LABlab(26.53, 52.06, -52.02)
CIE-LCHlch(26.53, 73.59, 315.02°)
OKLaboklab(39.06% 0.107 -0.1483)
OKLCHoklch(39.06% 0.183 305.8)
XYZxyz(9.9172, 4.9297, 26.8092)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1590 #479015
analogous
#211590 #5E1590 #901584
triadic
#5E1590 #905E15 #15905E
tetradic
#5E1590 #902115 #479015 #158490
square
#5E1590 #902115 #479015 #158490
split-complementary
#5E1590 #849015 #159021
monochromatic
#180525 #3B0D5B #5E1590 #811DC5 #9F3DE3

Accessibility & contrast

On white

10.57
#5E1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5E1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1590
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1590#FFFFFF#000000##FFFFFF
##5E15901.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#553855
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e1590;
/* rgb */ color: rgb(94, 21, 144);
/* oklch */ color: oklch(39.1% 0.183 305.8);
Tailwind
colors: {
  custom: {
    50: '#915eb1',
    500: '#5e1590',
    950: '#000000',
  },
}
SCSS
$custom: #5e1590;
$custom-light: #915eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1590",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 275.61,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39064,
    "c": 0.18288,
    "h": 305.8
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#5E1590
secondary
#74C23E
accent
#F13782
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E1590

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

Preview Lab → · Contrast checker → · Palette generator →

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