#5E147C#5E147C

#5E147C is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.3% C 0.165 H 313.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#5E147C
RGBrgb(94, 20, 124)
HSLhsl(283, 72%, 28%)
HSVhsv(283, 84%, 49%)
CMYKcmyk(24.2%, 83.9%, 0%, 51.4%)
CIE-LABlab(24.75, 47.98, -42.38)
CIE-LCHlch(24.75, 64.02, 318.54°)
OKLaboklab(37.3% 0.1133 -0.12)
OKLCHoklch(37.3% 0.165 313.4)
XYZxyz(8.5037, 4.3355, 19.4538)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E147C #327C14
analogous
#2A147C #5E147C #7C1466
triadic
#5E147C #7C5E14 #147C5E
tetradic
#5E147C #7C2A14 #327C14 #14667C
square
#5E147C #7C2A14 #327C14 #14667C
split-complementary
#5E147C #667C14 #147C2A
monochromatic
#14041A #360B47 #5E147C #861DB1 #AA2DDD

Accessibility & contrast

On white

11.25
#5E147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E147C
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E147C#FFFFFF#000000##FFFFFF
##5E147C1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#043C7A
Tritanopia (blue-blind)
#5B2E49
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e147c;
/* rgb */ color: rgb(94, 20, 124);
/* oklch */ color: oklch(37.3% 0.165 313.4);
Tailwind
colors: {
  custom: {
    50: '#905ca3',
    500: '#5e147c',
    950: '#000000',
  },
}
SCSS
$custom: #5e147c;
$custom-light: #905ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e147c",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 282.692,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37302,
    "c": 0.16503,
    "h": 313.4
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#5E147C
secondary
#5DB23A
accent
#EF396D
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E147C

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

Preview Lab → · Contrast checker → · Palette generator →

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