#5E1E89#5E1E89

#5E1E89 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.167 H 307.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#5E1E89
RGBrgb(94, 30, 137)
HSLhsl(276, 64%, 33%)
HSVhsv(276, 78%, 54%)
CMYKcmyk(31.4%, 78.1%, 0%, 46.3%)
CIE-LABlab(27.06, 47.21, -46.81)
CIE-LCHlch(27.06, 66.49, 315.24°)
OKLaboklab(39.25% 0.1017 -0.133)
OKLCHoklch(39.25% 0.167 307.4)
XYZxyz(9.5948, 5.1145, 24.1438)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E89 #49891E
analogous
#291E89 #5E1E89 #891E7E
triadic
#5E1E89 #895E1E #1E895E
tetradic
#5E1E89 #89291E #49891E #1E7E89
square
#5E1E89 #89291E #49891E #1E7E89
split-complementary
#5E1E89 #7E891E #1E8929
monochromatic
#190825 #3C1357 #5E1E89 #8029BB #9F4AD7

Accessibility & contrast

On white

10.38
#5E1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#5E1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E89
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E89#FFFFFF#000000##FFFFFF
##5E1E891.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1e89;
/* rgb */ color: rgb(94, 30, 137);
/* oklch */ color: oklch(39.2% 0.167 307.4);
Tailwind
colors: {
  custom: {
    50: '#9061ac',
    500: '#5e1e89',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e89;
$custom-light: #9061ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e89",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 275.888,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39247,
    "c": 0.16748,
    "h": 307.4
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#5E1E89
secondary
#76BA49
accent
#E74184
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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