#5E1CA0#5E1CA0

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

Color values

HEX#5E1CA0
RGBrgb(94, 28, 160)
HSLhsl(270, 70%, 37%)
HSVhsv(270, 83%, 63%)
CMYKcmyk(41.3%, 82.5%, 0%, 37.3%)
CIE-LABlab(28.77, 53.43, -58.18)
CIE-LCHlch(28.77, 79.00, 312.56°)
OKLaboklab(41.05% 0.0969 -0.1664)
OKLCHoklch(41.05% 0.193 300.2)
XYZxyz(11.3749, 5.7481, 33.7611)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1CA0 #5EA01C
analogous
#1C1CA0 #5E1CA0 #A01CA0
triadic
#5E1CA0 #A05E1C #1CA05E
tetradic
#5E1CA0 #A01C1C #5EA01C #1CA0A0
square
#5E1CA0 #A01C1C #5EA01C #1CA0A0
split-complementary
#5E1CA0 #A0A01C #1CA01C
monochromatic
#210A38 #3F136C #5E1CA0 #7D25D4 #9B55E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E1CA0#FFFFFF#000000##FFFFFF
##5E1CA01.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)
#0043A4
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#4E425F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5e1ca0;
/* rgb */ color: rgb(94, 28, 160);
/* oklch */ color: oklch(41.1% 0.193 300.2);
Tailwind
colors: {
  custom: {
    50: '#9362bd',
    500: '#5e1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #5e1ca0;
$custom-light: #9362bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1ca0",
  "rgb": {
    "r": 94,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 270,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41051,
    "c": 0.1926,
    "h": 300.2
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#5E1CA0
secondary
#8CC453
accent
#ED3B94
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5E1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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