#5E147D#5E147D

#5E147D is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.4% C 0.166 H 313.0°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#5E147D
RGBrgb(94, 20, 125)
HSLhsl(282, 72%, 28%)
HSVhsv(282, 84%, 49%)
CMYKcmyk(24.8%, 84%, 0%, 51%)
CIE-LABlab(24.83, 48.19, -42.89)
CIE-LCHlch(24.83, 64.51, 318.33°)
OKLaboklab(37.38% 0.1131 -0.1214)
OKLCHoklch(37.38% 0.166 313)
XYZxyz(8.5673, 4.3609, 19.7885)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E147D #337D14
analogous
#29147D #5E147D #7D1467
triadic
#5E147D #7D5E14 #147D5E
tetradic
#5E147D #7D2914 #337D14 #14677D
square
#5E147D #7D2914 #337D14 #14677D
split-complementary
#5E147D #677D14 #147D29
monochromatic
#14041A #360C48 #5E147D #861CB2 #AA2EDE

Accessibility & contrast

On white

11.22
#5E147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5E147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E147D
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E147D#FFFFFF#000000##FFFFFF
##5E147D1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#013C7B
Tritanopia (blue-blind)
#5A2F4A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e147d;
/* rgb */ color: rgb(94, 20, 125);
/* oklch */ color: oklch(37.4% 0.166 313.0);
Tailwind
colors: {
  custom: {
    50: '#905ca3',
    500: '#5e147d',
    950: '#000000',
  },
}
SCSS
$custom: #5e147d;
$custom-light: #905ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e147d",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 282.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37383,
    "c": 0.16596,
    "h": 313
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#5E147D
secondary
#5EB23A
accent
#EF396F
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E147D

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

Preview Lab → · Contrast checker → · Palette generator →

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