#5C1CA9#5C1CA9

#5C1CA9 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.6% C 0.201 H 296.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#5C1CA9
RGBrgb(92, 28, 169)
HSLhsl(267, 72%, 39%)
HSVhsv(267, 83%, 66%)
CMYKcmyk(45.6%, 83.4%, 0%, 33.7%)
CIE-LABlab(29.34, 55.33, -62.70)
CIE-LCHlch(29.34, 83.63, 311.43°)
OKLaboklab(41.64% 0.0908 -0.1797)
OKLCHoklch(41.64% 0.201 296.8)
XYZxyz(11.9884, 5.9701, 38.0491)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1CA9 #69A91C
analogous
#1C22A9 #5C1CA9 #A21CA9
triadic
#5C1CA9 #A95C1C #1CA95C
tetradic
#5C1CA9 #A91C22 #69A91C #1CA9A2
square
#5C1CA9 #A91C22 #69A91C #1CA9A2
split-complementary
#5C1CA9 #A9A21C #22A91C
monochromatic
#230B40 #3F1374 #5C1CA9 #7927DB #995BE4

Accessibility & contrast

On white

9.57
#5C1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5C1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1CA9
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1CA9#FFFFFF#000000##FFFFFF
##5C1CA91.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#474665
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c1ca9;
/* rgb */ color: rgb(92, 28, 169);
/* oklch */ color: oklch(41.6% 0.201 296.8);
Tailwind
colors: {
  custom: {
    50: '#9262c4',
    500: '#5c1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #5c1ca9;
$custom-light: #9262c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1ca9",
  "rgb": {
    "r": 92,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 267.234,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41641,
    "c": 0.20138,
    "h": 296.8
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#5C1CA9
secondary
#96C859
accent
#EE399C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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