#5D2575#5D2575

#5D2575 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.4% C 0.137 H 314.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#5D2575
RGBrgb(93, 37, 117)
HSLhsl(282, 52%, 30%)
HSVhsv(282, 68%, 46%)
CMYKcmyk(20.5%, 68.4%, 0%, 54.1%)
CIE-LABlab(26.55, 39.19, -35.04)
CIE-LCHlch(26.55, 52.57, 318.20°)
OKLaboklab(38.38% 0.0955 -0.0986)
OKLCHoklch(38.38% 0.137 314.1)
XYZxyz(8.3861, 4.9349, 17.3369)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2575 #3D7525
analogous
#352575 #5D2575 #752565
triadic
#5D2575 #755D25 #25755D
tetradic
#5D2575 #753525 #3D7525 #256575
square
#5D2575 #753525 #3D7525 #256575
split-complementary
#5D2575 #657525 #257535
monochromatic
#130818 #381647 #5D2575 #8234A3 #A24EC7

Accessibility & contrast

On white

10.57
#5D2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5D2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2575
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2575#FFFFFF#000000##FFFFFF
##5D25751.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#214073
Tritanopia (blue-blind)
#5B3449
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5d2575;
/* rgb */ color: rgb(93, 37, 117);
/* oklch */ color: oklch(38.4% 0.137 314.1);
Tailwind
colors: {
  custom: {
    50: '#8e649d',
    500: '#5d2575',
    950: '#000000',
  },
}
SCSS
$custom: #5d2575;
$custom-light: #8e649d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2575",
  "rgb": {
    "r": 93,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 282,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38383,
    "c": 0.13722,
    "h": 314.1
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#5D2575
secondary
#69A84E
accent
#DB4C77
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D060E
muted
#7D7A7E

Preview Lab

Preview with #5D2575

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

Preview Lab → · Contrast checker → · Palette generator →

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