#5C1C91#5C1C91

#5C1C91 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.177 H 303.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#5C1C91
RGBrgb(92, 28, 145)
HSLhsl(273, 68%, 34%)
HSVhsv(273, 81%, 57%)
CMYKcmyk(36.6%, 80.7%, 0%, 43.1%)
CIE-LABlab(27.16, 49.53, -51.63)
CIE-LCHlch(27.16, 71.55, 313.81°)
OKLaboklab(39.46% 0.0985 -0.1473)
OKLCHoklch(39.46% 0.177 303.8)
XYZxyz(9.9385, 5.1502, 27.2531)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1C91 #51911C
analogous
#221C91 #5C1C91 #911C8C
triadic
#5C1C91 #915C1C #1C915C
tetradic
#5C1C91 #91221C #51911C #1C8C91
square
#5C1C91 #91221C #51911C #1C8C91
split-complementary
#5C1C91 #8C911C #1C9122
monochromatic
#1B082A #3B125E #5C1C91 #7D26C4 #9B4BDC

Accessibility & contrast

On white

10.34
#5C1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5C1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1C91
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1C91#FFFFFF#000000##FFFFFF
##5C1C911.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#513B57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5c1c91;
/* rgb */ color: rgb(92, 28, 145);
/* oklch */ color: oklch(39.5% 0.177 303.8);
Tailwind
colors: {
  custom: {
    50: '#9061b2',
    500: '#5c1c91',
    950: '#000000',
  },
}
SCSS
$custom: #5c1c91;
$custom-light: #9061b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1c91",
  "rgb": {
    "r": 92,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 272.821,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.17717,
    "h": 303.8
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#5C1C91
secondary
#7FBE4A
accent
#EB3D8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5C1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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