#5C199E#5C199E

#5C199E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.4% C 0.193 H 300.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#5C199E
RGBrgb(92, 25, 158)
HSLhsl(270, 73%, 36%)
HSVhsv(270, 84%, 62%)
CMYKcmyk(41.8%, 84.2%, 0%, 38%)
CIE-LABlab(27.95, 53.71, -58.31)
CIE-LCHlch(27.95, 79.28, 312.65°)
OKLaboklab(40.37% 0.0966 -0.1668)
OKLCHoklch(40.37% 0.193 300.1)
XYZxyz(10.9313, 5.4391, 32.8151)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C199E #5B9E19
analogous
#1A199E #5C199E #9E199D
triadic
#5C199E #9E5C19 #199E5C
tetradic
#5C199E #9E1A19 #5B9E19 #199D9E
square
#5C199E #9E1A19 #5B9E19 #199D9E
split-complementary
#5C199E #9D9E19 #199E1A
monochromatic
#1E0834 #3D1169 #5C199E #7B21D3 #994EE3

Accessibility & contrast

On white

10.06
#5C199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C199E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C199E#FFFFFF#000000##FFFFFF
##5C199E1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c199e;
/* rgb */ color: rgb(92, 25, 158);
/* oklch */ color: oklch(40.4% 0.193 300.1);
Tailwind
colors: {
  custom: {
    50: '#9160bc',
    500: '#5c199e',
    950: '#000000',
  },
}
SCSS
$custom: #5c199e;
$custom-light: #9160bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c199e",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 270.226,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4037,
    "c": 0.19281,
    "h": 300.1
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#5C199E
secondary
#89C54E
accent
#EF3893
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #5C199E

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

Preview Lab → · Contrast checker → · Palette generator →

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