#5D0F56#5D0F56

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

Color values

HEX#5D0F56
RGBrgb(93, 15, 86)
HSLhsl(305, 72%, 21%)
HSVhsv(305, 84%, 36%)
CMYKcmyk(0%, 83.9%, 7.5%, 63.5%)
CIE-LABlab(21.36, 42.00, -23.06)
CIE-LCHlch(21.36, 47.92, 331.23°)
OKLaboklab(34.02% 0.1207 -0.0635)
OKLCHoklch(34.02% 0.136 332.3)
XYZxyz(6.3648, 3.3412, 9.1120)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F56 #0F5D16
analogous
#3D0F5D #5D0F56 #5D0F2F
triadic
#5D0F56 #565D0F #0F565D
tetradic
#5D0F56 #5D3D0F #0F5D16 #0F2F5D
square
#5D0F56 #5D3D0F #0F5D16 #0F2F5D
split-complementary
#5D0F56 #2F5D0F #0F5D3D
monochromatic
#1A0418 #280625 #5D0F56 #921787 #C620B7

Accessibility & contrast

On white

12.59
#5D0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5D0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F56
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F56#FFFFFF#000000##FFFFFF
##5D0F561.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d0f56;
/* rgb */ color: rgb(93, 15, 86);
/* oklch */ color: oklch(34.0% 0.136 332.3);
Tailwind
colors: {
  custom: {
    50: '#8e5886',
    500: '#5d0f56',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f56;
$custom-light: #8e5886;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f56",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 305.385,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34023,
    "c": 0.13641,
    "h": 332.3
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#5D0F56
secondary
#31963A
accent
#EF4939
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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