#5E2484#5E2484

#5E2484 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.155 H 308.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#5E2484
RGBrgb(94, 36, 132)
HSLhsl(276, 57%, 33%)
HSVhsv(276, 73%, 52%)
CMYKcmyk(28.8%, 72.7%, 0%, 48.2%)
CIE-LABlab(27.59, 43.41, -42.82)
CIE-LCHlch(27.59, 60.98, 315.39°)
OKLaboklab(39.5% 0.0966 -0.1214)
OKLCHoklch(39.5% 0.155 308.5)
XYZxyz(9.4110, 5.3075, 22.3540)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2484 #4A8424
analogous
#2E2484 #5E2484 #84247A
triadic
#5E2484 #845E24 #24845E
tetradic
#5E2484 #842E24 #4A8424 #247A84
square
#5E2484 #842E24 #4A8424 #247A84
split-complementary
#5E2484 #7A8424 #24842E
monochromatic
#1A0A24 #3C1754 #5E2484 #8031B4 #9E52D0

Accessibility & contrast

On white

10.19
#5E2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5E2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2484
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2484#FFFFFF#000000##FFFFFF
##5E24841.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#0C4282
Tritanopia (blue-blind)
#583A51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e2484;
/* rgb */ color: rgb(94, 36, 132);
/* oklch */ color: oklch(39.5% 0.155 308.5);
Tailwind
colors: {
  custom: {
    50: '#8f64a8',
    500: '#5e2484',
    950: '#000000',
  },
}
SCSS
$custom: #5e2484;
$custom-light: #8f64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2484",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 276.25,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39503,
    "c": 0.15508,
    "h": 308.5
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#5E2484
secondary
#77B450
accent
#E04784
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5E2484

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

Preview Lab → · Contrast checker → · Palette generator →

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