#5C199F#5C199F

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

Color values

HEX#5C199F
RGBrgb(92, 25, 159)
HSLhsl(270, 73%, 36%)
HSVhsv(270, 84%, 62%)
CMYKcmyk(42.1%, 84.3%, 0%, 37.6%)
CIE-LABlab(28.04, 53.95, -58.77)
CIE-LCHlch(28.04, 79.78, 312.55°)
OKLaboklab(40.46% 0.0963 -0.1682)
OKLCHoklch(40.46% 0.194 299.8)
XYZxyz(11.0177, 5.4736, 33.2702)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C199F #5C9F19
analogous
#19199F #5C199F #9F199F
triadic
#5C199F #9F5C19 #199F5C
tetradic
#5C199F #9F1919 #5C9F19 #199F9F
square
#5C199F #9F1919 #5C9F19 #199F9F
split-complementary
#5C199F #9F9F19 #199F19
monochromatic
#1F0835 #3D116A #5C199F #7B21D4 #994FE3

Accessibility & contrast

On white

10.02
#5C199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5C199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C199F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C199F#FFFFFF#000000##FFFFFF
##5C199F1.0010.022.0910.02
#FFFFFF10.021.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#4C405E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c199f;
/* rgb */ color: rgb(92, 25, 159);
/* oklch */ color: oklch(40.5% 0.194 299.8);
Tailwind
colors: {
  custom: {
    50: '#9160bc',
    500: '#5c199f',
    950: '#000000',
  },
}
SCSS
$custom: #5c199f;
$custom-light: #9160bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c199f",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 270,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.1938,
    "h": 299.8
  },
  "luminance": 0.05474
}

Semantic roles & 50–950 ramp

primary
#5C199F
secondary
#8AC64E
accent
#F03894
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #5C199F

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

Preview Lab → · Contrast checker → · Palette generator →

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