#5E2384#5E2384

#5E2384 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.156 H 308.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#5E2384
RGBrgb(94, 35, 132)
HSLhsl(276, 58%, 33%)
HSVhsv(276, 73%, 52%)
CMYKcmyk(28.8%, 73.5%, 0%, 48.2%)
CIE-LABlab(27.43, 43.87, -43.09)
CIE-LCHlch(27.43, 61.49, 315.52°)
OKLaboklab(39.39% 0.0976 -0.1221)
OKLCHoklch(39.39% 0.156 308.6)
XYZxyz(9.3811, 5.2478, 22.3441)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2384 #498423
analogous
#2E2384 #5E2384 #842379
triadic
#5E2384 #845E23 #23845E
tetradic
#5E2384 #842E23 #498423 #237984
square
#5E2384 #842E23 #498423 #237984
split-complementary
#5E2384 #798423 #23842E
monochromatic
#190923 #3C1654 #5E2384 #8030B4 #9F51D1

Accessibility & contrast

On white

10.25
#5E2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5E2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2384
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2384#FFFFFF#000000##FFFFFF
##5E23841.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#0A4182
Tritanopia (blue-blind)
#583951
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e2384;
/* rgb */ color: rgb(94, 35, 132);
/* oklch */ color: oklch(39.4% 0.156 308.6);
Tailwind
colors: {
  custom: {
    50: '#9064a8',
    500: '#5e2384',
    950: '#000000',
  },
}
SCSS
$custom: #5e2384;
$custom-light: #9064a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2384",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 276.495,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39387,
    "c": 0.15636,
    "h": 308.6
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#5E2384
secondary
#76B44E
accent
#E14683
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5E2384

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

Preview Lab → · Contrast checker → · Palette generator →

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