#5E199F#5E199F

#5E199F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.194 H 300.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#5E199F
RGBrgb(94, 25, 159)
HSLhsl(271, 73%, 36%)
HSVhsv(271, 84%, 62%)
CMYKcmyk(40.9%, 84.3%, 0%, 37.6%)
CIE-LABlab(28.32, 54.23, -58.30)
CIE-LCHlch(28.32, 79.63, 312.93°)
OKLaboklab(40.72% 0.0993 -0.1667)
OKLCHoklch(40.72% 0.194 300.8)
XYZxyz(11.2202, 5.5781, 33.2797)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E199F #5A9F19
analogous
#1B199F #5E199F #9F199D
triadic
#5E199F #9F5E19 #199F5E
tetradic
#5E199F #9F1B19 #5A9F19 #199D9F
square
#5E199F #9F1B19 #5A9F19 #199D9F
split-complementary
#5E199F #9D9F19 #199F1B
monochromatic
#1F0835 #3F116A #5E199F #7D21D4 #9B4FE3

Accessibility & contrast

On white

9.93
#5E199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5E199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E199F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E199F#FFFFFF#000000##FFFFFF
##5E199F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#4F405E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5e199f;
/* rgb */ color: rgb(94, 25, 159);
/* oklch */ color: oklch(40.7% 0.194 300.8);
Tailwind
colors: {
  custom: {
    50: '#9360bc',
    500: '#5e199f',
    950: '#000000',
  },
}
SCSS
$custom: #5e199f;
$custom-light: #9360bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e199f",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 270.896,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.1941,
    "h": 300.8
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#5E199F
secondary
#88C64E
accent
#F03891
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #5E199F

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

Preview Lab → · Contrast checker → · Palette generator →

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