#5D0E53#5D0E53

#5D0E53 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.135 H 334.1°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#5D0E53
RGBrgb(93, 14, 83)
HSLhsl(308, 74%, 21%)
HSVhsv(308, 85%, 36%)
CMYKcmyk(0%, 84.9%, 10.8%, 63.5%)
CIE-LABlab(21.08, 41.80, -21.49)
CIE-LCHlch(21.08, 47.00, 332.79°)
OKLaboklab(33.76% 0.1215 -0.0589)
OKLCHoklch(33.76% 0.135 334.1)
XYZxyz(6.2326, 3.2663, 8.4841)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E53 #0E5D18
analogous
#3F0E5D #5D0E53 #5D0E2B
triadic
#5D0E53 #535D0E #0E535D
tetradic
#5D0E53 #5D3F0E #0E5D18 #0E2B5D
square
#5D0E53 #5D3F0E #0E5D18 #0E2B5D
split-complementary
#5D0E53 #2B5D0E #0E5D3F
monochromatic
#1B0418 #280624 #5D0E53 #921682 #C71EB2

Accessibility & contrast

On white

12.70
#5D0E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5D0E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E53
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E53#FFFFFF#000000##FFFFFF
##5D0E531.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B55
Deuteranopia (green-blind)
#2B3751
Tritanopia (blue-blind)
#621630
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0e53;
/* rgb */ color: rgb(93, 14, 83);
/* oklch */ color: oklch(33.8% 0.135 334.1);
Tailwind
colors: {
  custom: {
    50: '#8e5883',
    500: '#5d0e53',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e53;
$custom-light: #8e5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e53",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 307.595,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33764,
    "c": 0.13505,
    "h": 334.1
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#5D0E53
secondary
#30973D
accent
#F04F37
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0E53

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

Preview Lab → · Contrast checker → · Palette generator →

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