#5E147A#5E147A

#5E147A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.163 H 314.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#5E147A
RGBrgb(94, 20, 122)
HSLhsl(284, 72%, 28%)
HSVhsv(284, 84%, 48%)
CMYKcmyk(23%, 83.6%, 0%, 52.2%)
CIE-LABlab(24.59, 47.55, -41.37)
CIE-LCHlch(24.59, 63.03, 318.98°)
OKLaboklab(37.14% 0.1138 -0.117)
OKLCHoklch(37.14% 0.163 314.2)
XYZxyz(8.3785, 4.2854, 18.7944)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E147A #307A14
analogous
#2B147A #5E147A #7A1463
triadic
#5E147A #7A5E14 #147A5E
tetradic
#5E147A #7A2B14 #307A14 #14637A
square
#5E147A #7A2B14 #307A14 #14637A
split-complementary
#5E147A #637A14 #147A2B
monochromatic
#14041A #350B45 #5E147A #871DAF #AC2CDC

Accessibility & contrast

On white

11.31
#5E147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5E147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E147A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E147A#FFFFFF#000000##FFFFFF
##5E147A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#093C78
Tritanopia (blue-blind)
#5B2D48
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e147a;
/* rgb */ color: rgb(94, 20, 122);
/* oklch */ color: oklch(37.1% 0.163 314.2);
Tailwind
colors: {
  custom: {
    50: '#905ca1',
    500: '#5e147a',
    950: '#000000',
  },
}
SCSS
$custom: #5e147a;
$custom-light: #905ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e147a",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 283.529,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37142,
    "c": 0.16319,
    "h": 314.2
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#5E147A
secondary
#5AB03A
accent
#EF396B
background
#F9F5FA
surface
#F1E9F3
border
#CBC5CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E147A

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

Preview Lab → · Contrast checker → · Palette generator →

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