#5E1D80#5E1D80

#5E1D80 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.160 H 310.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#5E1D80
RGBrgb(94, 29, 128)
HSLhsl(279, 63%, 31%)
HSVhsv(279, 77%, 50%)
CMYKcmyk(26.6%, 77.3%, 0%, 49.8%)
CIE-LABlab(26.21, 45.55, -42.55)
CIE-LCHlch(26.21, 62.34, 316.95°)
OKLaboklab(38.42% 0.1045 -0.1205)
OKLCHoklch(38.42% 0.16 310.9)
XYZxyz(8.9510, 4.8171, 20.8762)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D80 #3F801D
analogous
#2C1D80 #5E1D80 #801D70
triadic
#5E1D80 #805E1D #1D805E
tetradic
#5E1D80 #802C1D #3F801D #1D7080
square
#5E1D80 #802C1D #3F801D #1D7080
split-complementary
#5E1D80 #70801D #1D802C
monochromatic
#15061C #39124E #5E1D80 #8328B2 #A243D4

Accessibility & contrast

On white

10.70
#5E1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5E1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D80
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D80#FFFFFF#000000##FFFFFF
##5E1D801.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#083F7E
Tritanopia (blue-blind)
#59344D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e1d80;
/* rgb */ color: rgb(94, 29, 128);
/* oklch */ color: oklch(38.4% 0.160 310.9);
Tailwind
colors: {
  custom: {
    50: '#9060a5',
    500: '#5e1d80',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d80;
$custom-light: #9060a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d80",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 279.394,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38424,
    "c": 0.15953,
    "h": 310.9
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#5E1D80
secondary
#6BB345
accent
#E6427A
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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