#5C1EA0#5C1EA0

#5C1EA0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.191 H 299.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#5C1EA0
RGBrgb(92, 30, 160)
HSLhsl(269, 68%, 37%)
HSVhsv(269, 81%, 63%)
CMYKcmyk(42.5%, 81.3%, 0%, 37.3%)
CIE-LABlab(28.75, 52.39, -58.22)
CIE-LCHlch(28.75, 78.32, 311.98°)
OKLaboklab(40.98% 0.0924 -0.1666)
OKLCHoklch(40.98% 0.191 299)
XYZxyz(11.2214, 5.7418, 33.7680)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1EA0 #62A01E
analogous
#1E21A0 #5C1EA0 #9D1EA0
triadic
#5C1EA0 #A05C1E #1EA05C
tetradic
#5C1EA0 #A01E21 #62A01E #1EA09D
square
#5C1EA0 #A01E21 #62A01E #1EA09D
split-complementary
#5C1EA0 #A09D1E #21A01E
monochromatic
#210B39 #3E146C #5C1EA0 #7A28D4 #9959E0

Accessibility & contrast

On white

9.77
#5C1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5C1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1EA0
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1EA0#FFFFFF#000000##FFFFFF
##5C1EA01.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#4B4360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c1ea0;
/* rgb */ color: rgb(92, 30, 160);
/* oklch */ color: oklch(41.0% 0.191 299.0);
Tailwind
colors: {
  custom: {
    50: '#9162bd',
    500: '#5c1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #5c1ea0;
$custom-light: #9162bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1ea0",
  "rgb": {
    "r": 92,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 268.615,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40981,
    "c": 0.19054,
    "h": 299
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#5C1EA0
secondary
#8FC456
accent
#EB3D98
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5C1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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