#5D0E56#5D0E56

#5D0E56 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.137 H 332.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#5D0E56
RGBrgb(93, 14, 86)
HSLhsl(305, 74%, 21%)
HSVhsv(305, 85%, 36%)
CMYKcmyk(0%, 84.9%, 7.5%, 63.5%)
CIE-LABlab(21.26, 42.30, -23.23)
CIE-LCHlch(21.26, 48.25, 331.23°)
OKLaboklab(33.95% 0.1216 -0.064)
OKLCHoklch(33.95% 0.137 332.3)
XYZxyz(6.3510, 3.3137, 9.1074)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E56 #0E5D15
analogous
#3C0E5D #5D0E56 #5D0E2E
triadic
#5D0E56 #565D0E #0E565D
tetradic
#5D0E56 #5D3C0E #0E5D15 #0E2E5D
square
#5D0E56 #5D3C0E #0E5D15 #0E2E5D
split-complementary
#5D0E56 #2E5D0E #0E5D3C
monochromatic
#1B0419 #280625 #5D0E56 #921687 #C71EB8

Accessibility & contrast

On white

12.63
#5D0E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5D0E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E56
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E56#FFFFFF#000000##FFFFFF
##5D0E561.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C58
Deuteranopia (green-blind)
#2A3754
Tritanopia (blue-blind)
#611832
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0e56;
/* rgb */ color: rgb(93, 14, 86);
/* oklch */ color: oklch(33.9% 0.137 332.3);
Tailwind
colors: {
  custom: {
    50: '#8e5886',
    500: '#5d0e56',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e56;
$custom-light: #8e5886;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e56",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 305.316,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33949,
    "c": 0.13739,
    "h": 332.3
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#5D0E56
secondary
#309739
accent
#F04837
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0E56

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

Preview Lab → · Contrast checker → · Palette generator →

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