#5E1059#5E1059

#5E1059 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.138 H 331.0°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#5E1059
RGBrgb(94, 16, 89)
HSLhsl(304, 71%, 22%)
HSVhsv(304, 83%, 37%)
CMYKcmyk(0%, 83%, 5.3%, 63.1%)
CIE-LABlab(21.84, 42.44, -24.30)
CIE-LCHlch(21.84, 48.90, 330.21°)
OKLaboklab(34.46% 0.121 -0.067)
OKLCHoklch(34.46% 0.138 331)
XYZxyz(6.6046, 3.4721, 9.7716)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1059 #105E15
analogous
#3C105E #5E1059 #5E1032
triadic
#5E1059 #595E10 #10595E
tetradic
#5E1059 #5E3C10 #105E15 #10325E
square
#5E1059 #5E3C10 #105E15 #10325E
split-complementary
#5E1059 #325E10 #105E3C
monochromatic
#1A0419 #2A0727 #5E1059 #92198B #C722BC

Accessibility & contrast

On white

12.39
#5E1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5E1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1059
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1059#FFFFFF#000000##FFFFFF
##5E10591.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072E5B
Deuteranopia (green-blind)
#2A3857
Tritanopia (blue-blind)
#621B34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1059;
/* rgb */ color: rgb(94, 16, 89);
/* oklch */ color: oklch(34.5% 0.138 331.0);
Tailwind
colors: {
  custom: {
    50: '#8f5988',
    500: '#5e1059',
    950: '#000000',
  },
}
SCSS
$custom: #5e1059;
$custom-light: #8f5988;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1059",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 303.846,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34462,
    "c": 0.13834,
    "h": 331
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#5E1059
secondary
#339739
accent
#EE463A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1059

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

Preview Lab → · Contrast checker → · Palette generator →

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