#5E1E85#5E1E85

#5E1E85 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.163 H 308.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#5E1E85
RGBrgb(94, 30, 133)
HSLhsl(277, 63%, 32%)
HSVhsv(277, 77%, 52%)
CMYKcmyk(29.3%, 77.4%, 0%, 47.8%)
CIE-LABlab(26.74, 46.28, -44.83)
CIE-LCHlch(26.74, 64.44, 315.91°)
OKLaboklab(38.92% 0.1026 -0.1272)
OKLCHoklch(38.92% 0.163 308.9)
XYZxyz(9.3131, 5.0019, 22.6606)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E85 #45851E
analogous
#2B1E85 #5E1E85 #851E78
triadic
#5E1E85 #855E1E #1E855E
tetradic
#5E1E85 #852B1E #45851E #1E7885
square
#5E1E85 #852B1E #45851E #1E7885
split-complementary
#5E1E85 #78851E #1E852B
monochromatic
#170721 #3B1353 #5E1E85 #8129B7 #A048D6

Accessibility & contrast

On white

10.50
#5E1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5E1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E85
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E85#FFFFFF#000000##FFFFFF
##5E1E851.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#583750
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e1e85;
/* rgb */ color: rgb(94, 30, 133);
/* oklch */ color: oklch(38.9% 0.163 308.9);
Tailwind
colors: {
  custom: {
    50: '#9061a9',
    500: '#5e1e85',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e85;
$custom-light: #9061a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e85",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 277.282,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38923,
    "c": 0.16342,
    "h": 308.9
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#5E1E85
secondary
#72B847
accent
#E64280
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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