#5C1AA1#5C1AA1

#5C1AA1 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.195 H 299.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#5C1AA1
RGBrgb(92, 26, 161)
HSLhsl(269, 72%, 37%)
HSVhsv(269, 84%, 63%)
CMYKcmyk(42.9%, 83.9%, 0%, 36.9%)
CIE-LABlab(28.35, 54.09, -59.49)
CIE-LCHlch(28.35, 80.40, 312.28°)
OKLaboklab(40.73% 0.0949 -0.1703)
OKLCHoklch(40.73% 0.195 299.1)
XYZxyz(11.2144, 5.5871, 34.1989)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1AA1 #5FA11A
analogous
#1A1CA1 #5C1AA1 #A01AA1
triadic
#5C1AA1 #A15C1A #1AA15C
tetradic
#5C1AA1 #A11A1C #5FA11A #1AA1A0
square
#5C1AA1 #A11A1C #5FA11A #1AA1A0
split-complementary
#5C1AA1 #A1A01A #1CA11A
monochromatic
#200938 #3E116C #5C1AA1 #7A23D6 #9952E3

Accessibility & contrast

On white

9.92
#5C1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5C1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1AA1
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1AA1#FFFFFF#000000##FFFFFF
##5C1AA11.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#4B4260
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5c1aa1;
/* rgb */ color: rgb(92, 26, 161);
/* oklch */ color: oklch(40.7% 0.195 299.1);
Tailwind
colors: {
  custom: {
    50: '#9261be',
    500: '#5c1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #5c1aa1;
$custom-light: #9261be;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1aa1",
  "rgb": {
    "r": 92,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 269.333,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40728,
    "c": 0.19498,
    "h": 299.1
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#5C1AA1
secondary
#8DC651
accent
#EF3996
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #5C1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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