#5E2190#5E2190

#5E2190 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.171 H 304.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#5E2190
RGBrgb(94, 33, 144)
HSLhsl(273, 63%, 35%)
HSVhsv(273, 77%, 56%)
CMYKcmyk(34.7%, 77.1%, 0%, 43.5%)
CIE-LABlab(28.06, 47.62, -49.53)
CIE-LCHlch(28.06, 68.71, 313.88°)
OKLaboklab(40.13% 0.0973 -0.141)
OKLCHoklch(40.13% 0.171 304.6)
XYZxyz(10.1928, 5.4811, 26.9011)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2190 #539021
analogous
#272190 #5E2190 #90218B
triadic
#5E2190 #905E21 #21905E
tetradic
#5E2190 #902721 #539021 #218B90
square
#5E2190 #902721 #539021 #218B90
split-complementary
#5E2190 #8B9021 #219027
monochromatic
#1D0A2C #3D165E #5E2190 #7F2CC2 #9C54D8

Accessibility & contrast

On white

10.02
#5E2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5E2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2190
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2190#FFFFFF#000000##FFFFFF
##5E21901.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#543D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5e2190;
/* rgb */ color: rgb(94, 33, 144);
/* oklch */ color: oklch(40.1% 0.171 304.6);
Tailwind
colors: {
  custom: {
    50: '#9163b1',
    500: '#5e2190',
    950: '#000000',
  },
}
SCSS
$custom: #5e2190;
$custom-light: #9163b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2190",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 272.973,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40132,
    "c": 0.17136,
    "h": 304.6
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#5E2190
secondary
#81BB51
accent
#E6428C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2190

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

Preview Lab → · Contrast checker → · Palette generator →

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