#5E1890#5E1890

#5E1890 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.180 H 305.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#5E1890
RGBrgb(94, 24, 144)
HSLhsl(275, 71%, 33%)
HSVhsv(275, 83%, 56%)
CMYKcmyk(34.7%, 83.3%, 0%, 43.5%)
CIE-LABlab(26.87, 51.08, -51.48)
CIE-LCHlch(26.87, 72.52, 314.78°)
OKLaboklab(39.3% 0.1049 -0.1467)
OKLCHoklch(39.3% 0.18 305.6)
XYZxyz(9.9756, 5.0466, 26.8287)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1890 #4A9018
analogous
#221890 #5E1890 #901886
triadic
#5E1890 #905E18 #18905E
tetradic
#5E1890 #902218 #4A9018 #188690
square
#5E1890 #902218 #4A9018 #188690
split-complementary
#5E1890 #869018 #189022
monochromatic
#1A0727 #3C0F5C #5E1890 #8021C4 #9E43E0

Accessibility & contrast

On white

10.45
#5E1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1890
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1890#FFFFFF#000000##FFFFFF
##5E18901.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#553955
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e1890;
/* rgb */ color: rgb(94, 24, 144);
/* oklch */ color: oklch(39.3% 0.180 305.6);
Tailwind
colors: {
  custom: {
    50: '#915fb1',
    500: '#5e1890',
    950: '#000000',
  },
}
SCSS
$custom: #5e1890;
$custom-light: #915fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1890",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 275,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39295,
    "c": 0.18035,
    "h": 305.6
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#5E1890
secondary
#77C043
accent
#EE3A85
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E1890

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

Preview Lab → · Contrast checker → · Palette generator →

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