#5C1CA0#5C1CA0

#5C1CA0 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.8% C 0.192 H 299.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#5C1CA0
RGBrgb(92, 28, 160)
HSLhsl(269, 70%, 37%)
HSVhsv(269, 83%, 63%)
CMYKcmyk(42.5%, 82.5%, 0%, 37.3%)
CIE-LABlab(28.50, 53.14, -58.64)
CIE-LCHlch(28.50, 79.14, 312.18°)
OKLaboklab(40.8% 0.0939 -0.1678)
OKLCHoklch(40.8% 0.192 299.2)
XYZxyz(11.1724, 5.6437, 33.7516)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1CA0 #60A01C
analogous
#1C1EA0 #5C1CA0 #9E1CA0
triadic
#5C1CA0 #A05C1C #1CA05C
tetradic
#5C1CA0 #A01C1E #60A01C #1CA09E
square
#5C1CA0 #A01C1E #60A01C #1CA09E
split-complementary
#5C1CA0 #A09E1C #1EA01C
monochromatic
#200A38 #3E136C #5C1CA0 #7A25D4 #9955E1

Accessibility & contrast

On white

9.86
#5C1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5C1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1CA0
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1CA0#FFFFFF#000000##FFFFFF
##5C1CA01.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#4B425F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5c1ca0;
/* rgb */ color: rgb(92, 28, 160);
/* oklch */ color: oklch(40.8% 0.192 299.2);
Tailwind
colors: {
  custom: {
    50: '#9162bd',
    500: '#5c1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #5c1ca0;
$custom-light: #9162bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1ca0",
  "rgb": {
    "r": 92,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 269.091,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.19231,
    "h": 299.2
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#5C1CA0
secondary
#8EC453
accent
#ED3B97
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #5C1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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