#5E0F5D#5E0F5D

#5E0F5D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.143 H 328.7°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#5E0F5D
RGBrgb(94, 15, 93)
HSLhsl(301, 72%, 21%)
HSVhsv(301, 84%, 37%)
CMYKcmyk(0%, 84%, 1.1%, 63.1%)
CIE-LABlab(21.99, 43.44, -26.73)
CIE-LCHlch(21.99, 51.01, 328.40°)
OKLaboklab(34.65% 0.1218 -0.0741)
OKLCHoklch(34.65% 0.143 328.7)
XYZxyz(6.7626, 3.5122, 10.6755)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F5D #0F5E10
analogous
#380F5E #5E0F5D #5E0F36
triadic
#5E0F5D #5D5E0F #0F5D5E
tetradic
#5E0F5D #5E380F #0F5E10 #0F365E
square
#5E0F5D #5E380F #0F5E10 #0F365E
split-complementary
#5E0F5D #365E0F #0F5E38
monochromatic
#1A041A #290729 #5E0F5D #931791 #C820C5

Accessibility & contrast

On white

12.34
#5E0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E0F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0F5D
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F5D#FFFFFF#000000##FFFFFF
##5E0F5D1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#27385B
Tritanopia (blue-blind)
#611C36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e0f5d;
/* rgb */ color: rgb(94, 15, 93);
/* oklch */ color: oklch(34.6% 0.143 328.7);
Tailwind
colors: {
  custom: {
    50: '#8f598b',
    500: '#5e0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f5d;
$custom-light: #8f598b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f5d",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 300.759,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34646,
    "c": 0.14258,
    "h": 328.7
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#5E0F5D
secondary
#319733
accent
#EF3B39
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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