#5E1990#5E1990

#5E1990 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.179 H 305.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#5E1990
RGBrgb(94, 25, 144)
HSLhsl(275, 70%, 33%)
HSVhsv(275, 83%, 56%)
CMYKcmyk(34.7%, 82.6%, 0%, 43.5%)
CIE-LABlab(26.99, 50.73, -51.28)
CIE-LCHlch(26.99, 72.14, 314.69°)
OKLaboklab(39.38% 0.1042 -0.1461)
OKLCHoklch(39.38% 0.179 305.5)
XYZxyz(9.9966, 5.0886, 26.8357)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1990 #4B9019
analogous
#231990 #5E1990 #901986
triadic
#5E1990 #905E19 #19905E
tetradic
#5E1990 #902319 #4B9019 #198690
square
#5E1990 #902319 #4B9019 #198690
split-complementary
#5E1990 #869019 #199023
monochromatic
#1A0728 #3C105C #5E1990 #8022C4 #9E45DF

Accessibility & contrast

On white

10.41
#5E1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1990
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1990#FFFFFF#000000##FFFFFF
##5E19901.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#553956
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e1990;
/* rgb */ color: rgb(94, 25, 144);
/* oklch */ color: oklch(39.4% 0.179 305.5);
Tailwind
colors: {
  custom: {
    50: '#9160b1',
    500: '#5e1990',
    950: '#000000',
  },
}
SCSS
$custom: #5e1990;
$custom-light: #9160b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1990",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 274.79,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.17946,
    "h": 305.5
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#5E1990
secondary
#79C045
accent
#ED3B86
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E1990

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

Preview Lab → · Contrast checker → · Palette generator →

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