#5E1D89#5E1D89

#5E1D89 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.169 H 307.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#5E1D89
RGBrgb(94, 29, 137)
HSLhsl(276, 65%, 33%)
HSVhsv(276, 79%, 54%)
CMYKcmyk(31.4%, 78.8%, 0%, 46.3%)
CIE-LABlab(26.92, 47.62, -47.04)
CIE-LCHlch(26.92, 66.94, 315.35°)
OKLaboklab(39.15% 0.1026 -0.1337)
OKLCHoklch(39.15% 0.169 307.5)
XYZxyz(9.5699, 5.0647, 24.1355)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D89 #48891D
analogous
#281D89 #5E1D89 #891D7E
triadic
#5E1D89 #895E1D #1D895E
tetradic
#5E1D89 #89281D #48891D #1D7E89
square
#5E1D89 #89281D #48891D #1D7E89
split-complementary
#5E1D89 #7E891D #1D8928
monochromatic
#190824 #3B1256 #5E1D89 #8128BC #9F48D8

Accessibility & contrast

On white

10.43
#5E1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5E1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D89
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D89#FFFFFF#000000##FFFFFF
##5E1D891.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#573852
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e1d89;
/* rgb */ color: rgb(94, 29, 137);
/* oklch */ color: oklch(39.1% 0.169 307.5);
Tailwind
colors: {
  custom: {
    50: '#9061ac',
    500: '#5e1d89',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d89;
$custom-light: #9061ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d89",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 276.111,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39148,
    "c": 0.16856,
    "h": 307.5
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#5E1D89
secondary
#75BA47
accent
#E84083
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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