#5E1583#5E1583

#5E1583 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.171 H 310.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#5E1583
RGBrgb(94, 21, 131)
HSLhsl(280, 72%, 30%)
HSVhsv(280, 84%, 51%)
CMYKcmyk(28.2%, 84%, 0%, 48.6%)
CIE-LABlab(25.43, 49.16, -45.71)
CIE-LCHlch(25.43, 67.13, 317.09°)
OKLaboklab(37.95% 0.1108 -0.1297)
OKLCHoklch(37.95% 0.171 310.5)
XYZxyz(8.9802, 4.5549, 21.8745)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1583 #3A8315
analogous
#271583 #5E1583 #831571
triadic
#5E1583 #835E15 #15835E
tetradic
#5E1583 #832715 #3A8315 #157183
square
#5E1583 #832715 #3A8315 #157183
split-complementary
#5E1583 #718315 #158327
monochromatic
#13041A #380D4E #5E1583 #841DB8 #A534DE

Accessibility & contrast

On white

10.99
#5E1583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5E1583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1583
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1583#FFFFFF#000000##FFFFFF
##5E15831.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#59324D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1583;
/* rgb */ color: rgb(94, 21, 131);
/* oklch */ color: oklch(38.0% 0.171 310.5);
Tailwind
colors: {
  custom: {
    50: '#905da8',
    500: '#5e1583',
    950: '#000000',
  },
}
SCSS
$custom: #5e1583;
$custom-light: #905da8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1583",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 279.818,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37951,
    "c": 0.17063,
    "h": 310.5
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#5E1583
secondary
#66B83C
accent
#EF3976
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1583

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

Preview Lab → · Contrast checker → · Palette generator →

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