#5D0F53#5D0F53

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

Color values

HEX#5D0F53
RGBrgb(93, 15, 83)
HSLhsl(308, 72%, 21%)
HSVhsv(308, 84%, 36%)
CMYKcmyk(0%, 83.9%, 10.8%, 63.5%)
CIE-LABlab(21.18, 41.50, -21.33)
CIE-LCHlch(21.18, 46.66, 332.80°)
OKLaboklab(33.84% 0.1206 -0.0585)
OKLCHoklch(33.84% 0.134 334.1)
XYZxyz(6.2464, 3.2939, 8.4887)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F53 #0F5D19
analogous
#400F5D #5D0F53 #5D0F2C
triadic
#5D0F53 #535D0F #0F535D
tetradic
#5D0F53 #5D400F #0F5D19 #0F2C5D
square
#5D0F53 #5D400F #0F5D19 #0F2C5D
split-complementary
#5D0F53 #2C5D0F #0F5D40
monochromatic
#1A0418 #280624 #5D0F53 #921782 #C620B1

Accessibility & contrast

On white

12.66
#5D0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F53
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F53#FFFFFF#000000##FFFFFF
##5D0F531.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d0f53;
/* rgb */ color: rgb(93, 15, 83);
/* oklch */ color: oklch(33.8% 0.134 334.1);
Tailwind
colors: {
  custom: {
    50: '#8e5883',
    500: '#5d0f53',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f53;
$custom-light: #8e5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f53",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 307.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33839,
    "c": 0.13404,
    "h": 334.1
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#5D0F53
secondary
#31963E
accent
#EF5039
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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