#5E146F#5E146F

#5E146F is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.153 H 319.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#5E146F
RGBrgb(94, 20, 111)
HSLhsl(289, 69%, 26%)
HSVhsv(289, 82%, 44%)
CMYKcmyk(15.3%, 82%, 0%, 56.5%)
CIE-LABlab(23.76, 45.28, -35.66)
CIE-LCHlch(23.76, 57.63, 321.78°)
OKLaboklab(36.3% 0.1158 -0.1002)
OKLCHoklch(36.3% 0.153 319.1)
XYZxyz(7.7351, 4.0281, 15.4059)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E146F #256F14
analogous
#30146F #5E146F #6F1452
triadic
#5E146F #6F5E14 #146F5E
tetradic
#5E146F #6F3014 #256F14 #14526F
square
#5E146F #6F3014 #256F14 #14526F
split-complementary
#5E146F #526F14 #146F30
monochromatic
#16051A #320B3B #5E146F #8A1DA3 #B627D7

Accessibility & contrast

On white

11.63
#5E146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5E146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E146F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E146F#FFFFFF#000000##FFFFFF
##5E146F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#1B3B6D
Tritanopia (blue-blind)
#5E2842
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e146f;
/* rgb */ color: rgb(94, 20, 111);
/* oklch */ color: oklch(36.3% 0.153 319.1);
Tailwind
colors: {
  custom: {
    50: '#8f5c99',
    500: '#5e146f',
    950: '#000000',
  },
}
SCSS
$custom: #5e146f;
$custom-light: #8f5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#5e146f",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 288.791,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.15315,
    "h": 319.1
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#5E146F
secondary
#4DA639
accent
#EC3C5D
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E146F

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

Preview Lab → · Contrast checker → · Palette generator →

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