#5E2284#5E2284

#5E2284 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.158 H 308.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#5E2284
RGBrgb(94, 34, 132)
HSLhsl(277, 59%, 33%)
HSVhsv(277, 74%, 52%)
CMYKcmyk(28.8%, 74.2%, 0%, 48.2%)
CIE-LABlab(27.27, 44.33, -43.35)
CIE-LCHlch(27.27, 62.00, 315.64°)
OKLaboklab(39.27% 0.0987 -0.1229)
OKLCHoklch(39.27% 0.158 308.8)
XYZxyz(9.3521, 5.1898, 22.3344)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2284 #488422
analogous
#2D2284 #5E2284 #842279
triadic
#5E2284 #845E22 #22845E
tetradic
#5E2284 #842D22 #488422 #227984
square
#5E2284 #842D22 #488422 #227984
split-complementary
#5E2284 #798422 #22842D
monochromatic
#190923 #3B1553 #5E2284 #812FB5 #9F4FD2

Accessibility & contrast

On white

10.30
#5E2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5E2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2284
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2284#FFFFFF#000000##FFFFFF
##5E22841.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e2284;
/* rgb */ color: rgb(94, 34, 132);
/* oklch */ color: oklch(39.3% 0.158 308.8);
Tailwind
colors: {
  custom: {
    50: '#9063a8',
    500: '#5e2284',
    950: '#000000',
  },
}
SCSS
$custom: #5e2284;
$custom-light: #9063a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2284",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 276.735,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39272,
    "c": 0.15762,
    "h": 308.8
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#5E2284
secondary
#75B54D
accent
#E24682
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5E2284

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

Preview Lab → · Contrast checker → · Palette generator →

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