#5E0D57#5E0D57

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

Color values

HEX#5E0D57
RGBrgb(94, 13, 87)
HSLhsl(305, 76%, 21%)
HSVhsv(305, 86%, 37%)
CMYKcmyk(0%, 86.2%, 7.4%, 63.1%)
CIE-LABlab(21.42, 42.98, -23.63)
CIE-LCHlch(21.42, 49.05, 331.19°)
OKLaboklab(34.12% 0.1236 -0.0651)
OKLCHoklch(34.12% 0.14 332.2)
XYZxyz(6.4803, 3.3562, 9.3215)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0D57 #0D5E14
analogous
#3C0D5E #5E0D57 #5E0D2E
triadic
#5E0D57 #575E0D #0D575E
tetradic
#5E0D57 #5E3C0D #0D5E14 #0D2E5E
square
#5E0D57 #5E3C0D #0D5E14 #0D2E5E
split-complementary
#5E0D57 #2E5E0D #0D5E3C
monochromatic
#1B0419 #280625 #5E0D57 #941489 #CA1CBB

Accessibility & contrast

On white

12.57
#5E0D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E0D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0D57
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0D57#FFFFFF#000000##FFFFFF
##5E0D571.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C59
Deuteranopia (green-blind)
#2A3755
Tritanopia (blue-blind)
#621832
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e0d57;
/* rgb */ color: rgb(94, 13, 87);
/* oklch */ color: oklch(34.1% 0.140 332.2);
Tailwind
colors: {
  custom: {
    50: '#8f5887',
    500: '#5e0d57',
    950: '#000000',
  },
}
SCSS
$custom: #5e0d57;
$custom-light: #8f5887;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0d57",
  "rgb": {
    "r": 94,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 305.185,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34119,
    "c": 0.13965,
    "h": 332.2
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#5E0D57
secondary
#2F9838
accent
#F24636
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E0D57

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

Preview Lab → · Contrast checker → · Palette generator →

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