#5C1EA9#5C1EA9

#5C1EA9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.200 H 296.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#5C1EA9
RGBrgb(92, 30, 169)
HSLhsl(267, 70%, 39%)
HSVhsv(267, 82%, 66%)
CMYKcmyk(45.6%, 82.2%, 0%, 33.7%)
CIE-LABlab(29.58, 54.61, -62.30)
CIE-LCHlch(29.58, 82.85, 311.24°)
OKLaboklab(41.81% 0.0895 -0.1786)
OKLCHoklch(41.81% 0.2 296.6)
XYZxyz(12.0374, 6.0682, 38.0655)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1EA9 #6BA91E
analogous
#1E25A9 #5C1EA9 #A21EA9
triadic
#5C1EA9 #A95C1E #1EA95C
tetradic
#5C1EA9 #A91E25 #6BA91E #1EA9A2
square
#5C1EA9 #A91E25 #6BA91E #1EA9A2
split-complementary
#5C1EA9 #A9A21E #25A91E
monochromatic
#230C41 #401575 #5C1EA9 #792BD9 #9A5FE3

Accessibility & contrast

On white

9.49
#5C1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5C1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1EA9
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1EA9#FFFFFF#000000##FFFFFF
##5C1EA91.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1ea9;
/* rgb */ color: rgb(92, 30, 169);
/* oklch */ color: oklch(41.8% 0.200 296.6);
Tailwind
colors: {
  custom: {
    50: '#9263c4',
    500: '#5c1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #5c1ea9;
$custom-light: #9263c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1ea9",
  "rgb": {
    "r": 92,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 266.763,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41811,
    "c": 0.19974,
    "h": 296.6
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#5C1EA9
secondary
#97C75C
accent
#ED3B9D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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