#5C1A91#5C1A91

#5C1A91 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.179 H 304.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#5C1A91
RGBrgb(92, 26, 145)
HSLhsl(273, 70%, 34%)
HSVhsv(273, 82%, 57%)
CMYKcmyk(36.6%, 82.1%, 0%, 43.1%)
CIE-LABlab(26.90, 50.28, -52.05)
CIE-LCHlch(26.90, 72.37, 314.01°)
OKLaboklab(39.28% 0.1001 -0.1485)
OKLCHoklch(39.28% 0.179 304)
XYZxyz(9.8927, 5.0585, 27.2378)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1A91 #4F911A
analogous
#201A91 #5C1A91 #911A8A
triadic
#5C1A91 #915C1A #1A915C
tetradic
#5C1A91 #91201A #4F911A #1A8A91
square
#5C1A91 #91201A #4F911A #1A8A91
split-complementary
#5C1A91 #8A911A #1A9120
monochromatic
#1A0729 #3B115D #5C1A91 #7D23C5 #9B47DE

Accessibility & contrast

On white

10.44
#5C1A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5C1A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1A91
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1A91#FFFFFF#000000##FFFFFF
##5C1A911.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#513A56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5c1a91;
/* rgb */ color: rgb(92, 26, 145);
/* oklch */ color: oklch(39.3% 0.179 304.0);
Tailwind
colors: {
  custom: {
    50: '#9060b2',
    500: '#5c1a91',
    950: '#000000',
  },
}
SCSS
$custom: #5c1a91;
$custom-light: #9060b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1a91",
  "rgb": {
    "r": 92,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 273.277,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39283,
    "c": 0.17908,
    "h": 304
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#5C1A91
secondary
#7DC047
accent
#EC3B8A
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5C1A91

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

Preview Lab → · Contrast checker → · Palette generator →

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