#5E147E#5E147E

#5E147E is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.5% C 0.167 H 312.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#5E147E
RGBrgb(94, 20, 126)
HSLhsl(282, 73%, 29%)
HSVhsv(282, 84%, 49%)
CMYKcmyk(25.4%, 84.1%, 0%, 50.6%)
CIE-LABlab(24.91, 48.40, -43.39)
CIE-LCHlch(24.91, 65.01, 318.12°)
OKLaboklab(37.46% 0.1129 -0.1229)
OKLCHoklch(37.46% 0.167 312.6)
XYZxyz(8.6315, 4.3866, 20.1266)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E147E #347E14
analogous
#29147E #5E147E #7E1469
triadic
#5E147E #7E5E14 #147E5E
tetradic
#5E147E #7E2914 #347E14 #14697E
square
#5E147E #7E2914 #347E14 #14697E
split-complementary
#5E147E #697E14 #147E29
monochromatic
#14041A #370C49 #5E147E #851CB3 #A92EDE

Accessibility & contrast

On white

11.19
#5E147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5E147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E147E
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E147E#FFFFFF#000000##FFFFFF
##5E147E1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#5A2F4A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e147e;
/* rgb */ color: rgb(94, 20, 126);
/* oklch */ color: oklch(37.5% 0.167 312.6);
Tailwind
colors: {
  custom: {
    50: '#905da4',
    500: '#5e147e',
    950: '#000000',
  },
}
SCSS
$custom: #5e147e;
$custom-light: #905da4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e147e",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 281.887,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.16688,
    "h": 312.6
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#5E147E
secondary
#5FB33A
accent
#EF3870
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E147E

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

Preview Lab → · Contrast checker → · Palette generator →

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