#5E2184#5E2184

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

Color values

HEX#5E2184
RGBrgb(94, 33, 132)
HSLhsl(277, 60%, 32%)
HSVhsv(277, 75%, 52%)
CMYKcmyk(28.8%, 75%, 0%, 48.2%)
CIE-LABlab(27.11, 44.77, -43.60)
CIE-LCHlch(27.11, 62.50, 315.76°)
OKLaboklab(39.16% 0.0998 -0.1236)
OKLCHoklch(39.16% 0.159 308.9)
XYZxyz(9.3240, 5.1335, 22.3250)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2184 #478421
analogous
#2D2184 #5E2184 #842178
triadic
#5E2184 #845E21 #21845E
tetradic
#5E2184 #842D21 #478421 #217884
square
#5E2184 #842D21 #478421 #217884
split-complementary
#5E2184 #788421 #21842D
monochromatic
#180922 #3B1553 #5E2184 #812DB5 #9F4DD2

Accessibility & contrast

On white

10.36
#5E2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5E2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2184
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2184#FFFFFF#000000##FFFFFF
##5E21841.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#054182
Tritanopia (blue-blind)
#583850
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5e2184;
/* rgb */ color: rgb(94, 33, 132);
/* oklch */ color: oklch(39.2% 0.159 308.9);
Tailwind
colors: {
  custom: {
    50: '#9063a8',
    500: '#5e2184',
    950: '#000000',
  },
}
SCSS
$custom: #5e2184;
$custom-light: #9063a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2184",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 276.97,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39161,
    "c": 0.15886,
    "h": 308.9
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#5E2184
secondary
#74B64B
accent
#E34581
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5E2184

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

Preview Lab → · Contrast checker → · Palette generator →

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