#5D235D#5D235D

#5D235D is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.6% C 0.116 H 327.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#5D235D
RGBrgb(93, 35, 93)
HSLhsl(300, 45%, 25%)
HSVhsv(300, 62%, 36%)
CMYKcmyk(0%, 62.4%, 0%, 63.5%)
CIE-LABlab(24.70, 35.05, -22.44)
CIE-LCHlch(24.70, 41.62, 327.36°)
OKLaboklab(36.57% 0.0976 -0.0619)
OKLCHoklch(36.57% 0.116 327.6)
XYZxyz(7.0909, 4.3200, 10.8142)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D235D #235D23
analogous
#40235D #5D235D #5D2340
triadic
#5D235D #5D5D23 #235D5D
tetradic
#5D235D #5D4023 #235D23 #23405D
square
#5D235D #5D4023 #235D23 #23405D
split-complementary
#5D235D #405D23 #235D40
monochromatic
#160816 #311231 #5D235D #893489 #B644B6

Accessibility & contrast

On white

11.27
#5D235D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5D235D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D235D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D235D#FFFFFF#000000##FFFFFF
##5D235D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C365F
Deuteranopia (green-blind)
#303D5B
Tritanopia (blue-blind)
#602A3C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5d235d;
/* rgb */ color: rgb(93, 35, 93);
/* oklch */ color: oklch(36.6% 0.116 327.6);
Tailwind
colors: {
  custom: {
    50: '#8d628b',
    500: '#5d235d',
    950: '#000000',
  },
}
SCSS
$custom: #5d235d;
$custom-light: #8d628b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d235d",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 93
  },
  "hsl": {
    "h": 300,
    "s": 45.312,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36567,
    "c": 0.11552,
    "h": 327.6
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#5D235D
secondary
#4B914B
accent
#D55353
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #5D235D

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

Preview Lab → · Contrast checker → · Palette generator →

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