#5E2192#5E2192

#5E2192 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.173 H 303.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#5E2192
RGBrgb(94, 33, 146)
HSLhsl(272, 63%, 35%)
HSVhsv(272, 77%, 57%)
CMYKcmyk(35.6%, 77.4%, 0%, 42.7%)
CIE-LABlab(28.23, 48.10, -50.49)
CIE-LCHlch(28.23, 69.74, 313.61°)
OKLaboklab(40.3% 0.0969 -0.1439)
OKLCHoklch(40.3% 0.173 303.9)
XYZxyz(10.3471, 5.5427, 27.7133)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2192 #559221
analogous
#252192 #5E2192 #92218E
triadic
#5E2192 #925E21 #21925E
tetradic
#5E2192 #922521 #559221 #218E92
square
#5E2192 #922521 #559221 #218E92
split-complementary
#5E2192 #8E9221 #219225
monochromatic
#1E0A2E #3E1660 #5E2192 #7E2CC4 #9C55D9

Accessibility & contrast

On white

9.96
#5E2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5E2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2192
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2192#FFFFFF#000000##FFFFFF
##5E21921.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#543E58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5e2192;
/* rgb */ color: rgb(94, 33, 146);
/* oklch */ color: oklch(40.3% 0.173 303.9);
Tailwind
colors: {
  custom: {
    50: '#9163b3',
    500: '#5e2192',
    950: '#000000',
  },
}
SCSS
$custom: #5e2192;
$custom-light: #9163b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2192",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 272.389,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40299,
    "c": 0.17344,
    "h": 303.9
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#5E2192
secondary
#83BC53
accent
#E6428D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5E2192

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

Preview Lab → · Contrast checker → · Palette generator →

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