#5E0F59#5E0F59

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

Color values

HEX#5E0F59
RGBrgb(94, 15, 89)
HSLhsl(304, 72%, 21%)
HSVhsv(304, 84%, 37%)
CMYKcmyk(0%, 84%, 5.3%, 63.1%)
CIE-LABlab(21.74, 42.75, -24.46)
CIE-LCHlch(21.74, 49.25, 330.22°)
OKLaboklab(34.39% 0.1219 -0.0675)
OKLCHoklch(34.39% 0.139 331)
XYZxyz(6.5901, 3.4431, 9.7668)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F59 #0F5E14
analogous
#3C0F5E #5E0F59 #5E0F32
triadic
#5E0F59 #595E0F #0F595E
tetradic
#5E0F59 #5E3C0F #0F5E14 #0F325E
square
#5E0F59 #5E3C0F #0F5E14 #0F325E
split-complementary
#5E0F59 #325E0F #0F5E3C
monochromatic
#1A0419 #290727 #5E0F59 #93178B #C820BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E0F59#FFFFFF#000000##FFFFFF
##5E0F591.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)
#052D5B
Deuteranopia (green-blind)
#293857
Tritanopia (blue-blind)
#621A34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e0f59;
/* rgb */ color: rgb(94, 15, 89);
/* oklch */ color: oklch(34.4% 0.139 331.0);
Tailwind
colors: {
  custom: {
    50: '#8f5988',
    500: '#5e0f59',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f59;
$custom-light: #8f5988;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f59",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 303.797,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34387,
    "c": 0.13934,
    "h": 331
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#5E0F59
secondary
#319738
accent
#EF4439
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E0F59

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

Preview Lab → · Contrast checker → · Palette generator →

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