#5D199E#5D199E

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

Color values

HEX#5D199E
RGBrgb(93, 25, 158)
HSLhsl(271, 73%, 36%)
HSVhsv(271, 84%, 62%)
CMYKcmyk(41.1%, 84.2%, 0%, 38%)
CIE-LABlab(28.09, 53.85, -58.08)
CIE-LCHlch(28.09, 79.21, 312.84°)
OKLaboklab(40.5% 0.0982 -0.1661)
OKLCHoklch(40.5% 0.193 300.6)
XYZxyz(11.0318, 5.4909, 32.8198)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D199E #5A9E19
analogous
#1B199E #5D199E #9E199C
triadic
#5D199E #9E5D19 #199E5D
tetradic
#5D199E #9E1B19 #5A9E19 #199C9E
square
#5D199E #9E1B19 #5A9E19 #199C9E
split-complementary
#5D199E #9C9E19 #199E1B
monochromatic
#1F0834 #3E1169 #5D199E #7C21D3 #9A4EE3

Accessibility & contrast

On white

10.01
#5D199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5D199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D199E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D199E#FFFFFF#000000##FFFFFF
##5D199E1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#4E405E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5d199e;
/* rgb */ color: rgb(93, 25, 158);
/* oklch */ color: oklch(40.5% 0.193 300.6);
Tailwind
colors: {
  custom: {
    50: '#9260bc',
    500: '#5d199e',
    950: '#000000',
  },
}
SCSS
$custom: #5d199e;
$custom-light: #9260bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d199e",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 270.677,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.19297,
    "h": 300.6
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#5D199E
secondary
#88C54E
accent
#EF3892
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #5D199E

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

Preview Lab → · Contrast checker → · Palette generator →

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