#5E2378#5E2378

#5E2378 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.144 H 313.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#5E2378
RGBrgb(94, 35, 120)
HSLhsl(282, 55%, 30%)
HSVhsv(282, 71%, 47%)
CMYKcmyk(21.7%, 70.8%, 0%, 52.9%)
CIE-LABlab(26.56, 41.09, -36.93)
CIE-LCHlch(26.56, 55.24, 318.05°)
OKLaboklab(38.49% 0.0991 -0.104)
OKLCHoklch(38.49% 0.144 313.6)
XYZxyz(8.6067, 4.9381, 18.2654)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2378 #3D7823
analogous
#332378 #5E2378 #782367
triadic
#5E2378 #785E23 #23785E
tetradic
#5E2378 #783323 #3D7823 #236778
square
#5E2378 #783323 #3D7823 #236778
split-complementary
#5E2378 #677823 #237833
monochromatic
#140719 #391549 #5E2378 #8331A7 #A34BCA

Accessibility & contrast

On white

10.57
#5E2378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5E2378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2378
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2378#FFFFFF#000000##FFFFFF
##5E23781.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#1E4076
Tritanopia (blue-blind)
#5B344A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5e2378;
/* rgb */ color: rgb(94, 35, 120);
/* oklch */ color: oklch(38.5% 0.144 313.6);
Tailwind
colors: {
  custom: {
    50: '#8f639f',
    500: '#5e2378',
    950: '#000000',
  },
}
SCSS
$custom: #5e2378;
$custom-light: #8f639f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2378",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 281.647,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38487,
    "c": 0.14368,
    "h": 313.6
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#5E2378
secondary
#69AB4C
accent
#DE4A77
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #5E2378

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

Preview Lab → · Contrast checker → · Palette generator →

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