#5E1057#5E1057

#5E1057 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.137 H 332.2°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#5E1057
RGBrgb(94, 16, 87)
HSLhsl(305, 71%, 22%)
HSVhsv(305, 83%, 37%)
CMYKcmyk(0%, 83%, 7.4%, 63.1%)
CIE-LABlab(21.72, 42.10, -23.15)
CIE-LCHlch(21.72, 48.05, 331.19°)
OKLaboklab(34.34% 0.121 -0.0637)
OKLCHoklch(34.34% 0.137 332.2)
XYZxyz(6.5217, 3.4389, 9.3353)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1057 #105E17
analogous
#3E105E #5E1057 #5E1030
triadic
#5E1057 #575E10 #10575E
tetradic
#5E1057 #5E3E10 #105E17 #10305E
square
#5E1057 #5E3E10 #105E17 #10305E
split-complementary
#5E1057 #305E10 #105E3E
monochromatic
#1A0418 #2A0727 #5E1057 #921987 #C722B8

Accessibility & contrast

On white

12.44
#5E1057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1057
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1057#FFFFFF#000000##FFFFFF
##5E10571.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2D59
Deuteranopia (green-blind)
#2B3855
Tritanopia (blue-blind)
#621A33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1057;
/* rgb */ color: rgb(94, 16, 87);
/* oklch */ color: oklch(34.3% 0.137 332.2);
Tailwind
colors: {
  custom: {
    50: '#8f5986',
    500: '#5e1057',
    950: '#000000',
  },
}
SCSS
$custom: #5e1057;
$custom-light: #8f5986;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1057",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 305.385,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34336,
    "c": 0.13673,
    "h": 332.2
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#5E1057
secondary
#33973C
accent
#EE4A3A
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1057

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

Preview Lab → · Contrast checker → · Palette generator →

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