#5E0F5F#5E0F5F

#5E0F5F is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.144 H 327.6°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#5E0F5F
RGBrgb(94, 15, 95)
HSLhsl(299, 73%, 22%)
HSVhsv(299, 84%, 37%)
CMYKcmyk(1.1%, 84.2%, 0%, 62.7%)
CIE-LABlab(22.12, 43.80, -27.84)
CIE-LCHlch(22.12, 51.90, 327.56°)
OKLaboklab(34.78% 0.1217 -0.0773)
OKLCHoklch(34.78% 0.144 327.6)
XYZxyz(6.8524, 3.5481, 11.1482)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F5F #105F0F
analogous
#360F5F #5E0F5F #5F0F38
triadic
#5E0F5F #5F5E0F #0F5F5E
tetradic
#5E0F5F #5F360F #105F0F #0F385F
square
#5E0F5F #5F360F #105F0F #0F385F
split-complementary
#5E0F5F #385F0F #0F5F36
monochromatic
#1A041A #2A072A #5E0F5F #921794 #C720C9

Accessibility & contrast

On white

12.28
#5E0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E0F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0F5F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F5F#FFFFFF#000000##FFFFFF
##5E0F5F1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#26385D
Tritanopia (blue-blind)
#611D37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e0f5f;
/* rgb */ color: rgb(94, 15, 95);
/* oklch */ color: oklch(34.8% 0.144 327.6);
Tailwind
colors: {
  custom: {
    50: '#8f598d',
    500: '#5e0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f5f;
$custom-light: #8f598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f5f",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 299.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34779,
    "c": 0.14422,
    "h": 327.6
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#5E0F5F
secondary
#339832
accent
#EF383B
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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