#5E1E83#5E1E83

#5E1E83 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.161 H 309.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#5E1E83
RGBrgb(94, 30, 131)
HSLhsl(278, 63%, 32%)
HSVhsv(278, 77%, 51%)
CMYKcmyk(28.2%, 77.1%, 0%, 48.6%)
CIE-LABlab(26.58, 45.83, -43.83)
CIE-LCHlch(26.58, 63.41, 316.27°)
OKLaboklab(38.76% 0.103 -0.1243)
OKLCHoklch(38.76% 0.161 309.6)
XYZxyz(9.1763, 4.9471, 21.9398)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E83 #43831E
analogous
#2C1E83 #5E1E83 #831E76
triadic
#5E1E83 #835E1E #1E835E
tetradic
#5E1E83 #832C1E #43831E #1E7683
square
#5E1E83 #832C1E #43831E #1E7683
split-complementary
#5E1E83 #76831E #1E832C
monochromatic
#17071F #3A1351 #5E1E83 #8229B5 #A147D5

Accessibility & contrast

On white

10.56
#5E1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5E1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E83
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E83#FFFFFF#000000##FFFFFF
##5E1E831.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#024081
Tritanopia (blue-blind)
#59364F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e1e83;
/* rgb */ color: rgb(94, 30, 131);
/* oklch */ color: oklch(38.8% 0.161 309.6);
Tailwind
colors: {
  custom: {
    50: '#9061a8',
    500: '#5e1e83',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e83;
$custom-light: #9061a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e83",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 278.02,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38763,
    "c": 0.16139,
    "h": 309.6
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#5E1E83
secondary
#70B647
accent
#E6427E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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