#5E1D83#5E1D83

#5E1D83 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.163 H 309.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#5E1D83
RGBrgb(94, 29, 131)
HSLhsl(278, 64%, 31%)
HSVhsv(278, 78%, 51%)
CMYKcmyk(28.2%, 77.9%, 0%, 48.6%)
CIE-LABlab(26.44, 46.24, -44.06)
CIE-LCHlch(26.44, 63.87, 316.38°)
OKLaboklab(38.66% 0.1039 -0.125)
OKLCHoklch(38.66% 0.163 309.8)
XYZxyz(9.1514, 4.8973, 21.9315)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D83 #42831D
analogous
#2B1D83 #5E1D83 #831D75
triadic
#5E1D83 #835E1D #1D835E
tetradic
#5E1D83 #832B1D #42831D #1D7583
square
#5E1D83 #832B1D #42831D #1D7583
split-complementary
#5E1D83 #75831D #1D832B
monochromatic
#16071F #3A1251 #5E1D83 #8228B5 #A145D6

Accessibility & contrast

On white

10.61
#5E1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5E1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D83
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D83#FFFFFF#000000##FFFFFF
##5E1D831.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1d83;
/* rgb */ color: rgb(94, 29, 131);
/* oklch */ color: oklch(38.7% 0.163 309.8);
Tailwind
colors: {
  custom: {
    50: '#9061a8',
    500: '#5e1d83',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d83;
$custom-light: #9061a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d83",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 278.235,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38662,
    "c": 0.16254,
    "h": 309.8
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#5E1D83
secondary
#6EB646
accent
#E7417D
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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