#5E2087#5E2087

#5E2087 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.163 H 307.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#5E2087
RGBrgb(94, 32, 135)
HSLhsl(276, 62%, 33%)
HSVhsv(276, 76%, 53%)
CMYKcmyk(30.4%, 76.3%, 0%, 47.1%)
CIE-LABlab(27.19, 45.91, -45.35)
CIE-LCHlch(27.19, 64.53, 315.35°)
OKLaboklab(39.29% 0.1002 -0.1288)
OKLCHoklch(39.29% 0.163 307.9)
XYZxyz(9.5049, 5.1621, 23.4126)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2087 #498720
analogous
#2B2087 #5E2087 #87207C
triadic
#5E2087 #875E20 #20875E
tetradic
#5E2087 #872B20 #498720 #207C87
square
#5E2087 #872B20 #498720 #207C87
split-complementary
#5E2087 #7C8720 #20872B
monochromatic
#190924 #3C1456 #5E2087 #802CB8 #9F4DD5

Accessibility & contrast

On white

10.33
#5E2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5E2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2087
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2087#FFFFFF#000000##FFFFFF
##5E20871.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#573952
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e2087;
/* rgb */ color: rgb(94, 32, 135);
/* oklch */ color: oklch(39.3% 0.163 307.9);
Tailwind
colors: {
  custom: {
    50: '#9062ab',
    500: '#5e2087',
    950: '#000000',
  },
}
SCSS
$custom: #5e2087;
$custom-light: #9062ab;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2087",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 276.117,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39291,
    "c": 0.16317,
    "h": 307.9
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#5E2087
secondary
#76B84B
accent
#E54383
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E2087

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

Preview Lab → · Contrast checker → · Palette generator →

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