#5C1EA7#5C1EA7

#5C1EA7 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.198 H 297.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#5C1EA7
RGBrgb(92, 30, 167)
HSLhsl(267, 70%, 39%)
HSVhsv(267, 82%, 65%)
CMYKcmyk(44.9%, 82%, 0%, 34.5%)
CIE-LABlab(29.40, 54.12, -61.40)
CIE-LCHlch(29.40, 81.85, 311.39°)
OKLaboklab(41.63% 0.0901 -0.1759)
OKLCHoklch(41.63% 0.198 297.1)
XYZxyz(11.8511, 5.9936, 37.0842)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1EA7 #69A71E
analogous
#1E25A7 #5C1EA7 #A01EA7
triadic
#5C1EA7 #A75C1E #1EA75C
tetradic
#5C1EA7 #A71E25 #69A71E #1EA7A0
square
#5C1EA7 #A71E25 #69A71E #1EA7A0
split-complementary
#5C1EA7 #A7A01E #25A71E
monochromatic
#230B3F #3F1573 #5C1EA7 #792AD9 #995DE2

Accessibility & contrast

On white

9.55
#5C1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5C1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1EA7
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1EA7#FFFFFF#000000##FFFFFF
##5C1EA71.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#484664
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c1ea7;
/* rgb */ color: rgb(92, 30, 167);
/* oklch */ color: oklch(41.6% 0.198 297.1);
Tailwind
colors: {
  custom: {
    50: '#9263c2',
    500: '#5c1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #5c1ea7;
$custom-light: #9263c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1ea7",
  "rgb": {
    "r": 92,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 267.153,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.1977,
    "h": 297.1
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#5C1EA7
secondary
#96C65B
accent
#EC3B9C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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