#5C1FA9#5C1FA9

#5C1FA9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.199 H 296.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#5C1FA9
RGBrgb(92, 31, 169)
HSLhsl(267, 69%, 39%)
HSVhsv(267, 82%, 66%)
CMYKcmyk(45.6%, 81.7%, 0%, 33.7%)
CIE-LABlab(29.71, 54.24, -62.09)
CIE-LCHlch(29.71, 82.44, 311.14°)
OKLaboklab(41.9% 0.0888 -0.178)
OKLCHoklch(41.9% 0.199 296.5)
XYZxyz(12.0631, 6.1196, 38.0740)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1FA9 #6CA91F
analogous
#1F27A9 #5C1FA9 #A11FA9
triadic
#5C1FA9 #A95C1F #1FA95C
tetradic
#5C1FA9 #A91F27 #6CA91F #1FA9A1
square
#5C1FA9 #A91F27 #6CA91F #1FA9A1
split-complementary
#5C1FA9 #A9A11F #27A91F
monochromatic
#240C42 #401675 #5C1FA9 #792DD8 #9A60E2

Accessibility & contrast

On white

9.44
#5C1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5C1FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1FA9
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1FA9#FFFFFF#000000##FFFFFF
##5C1FA91.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#474765
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c1fa9;
/* rgb */ color: rgb(92, 31, 169);
/* oklch */ color: oklch(41.9% 0.199 296.5);
Tailwind
colors: {
  custom: {
    50: '#9263c4',
    500: '#5c1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #5c1fa9;
$custom-light: #9263c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1fa9",
  "rgb": {
    "r": 92,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 266.522,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.419,
    "c": 0.19888,
    "h": 296.5
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#5C1FA9
secondary
#98C75D
accent
#EC3C9E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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