#5D235E#5D235E

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

Color values

HEX#5D235E
RGBrgb(93, 35, 94)
HSLhsl(299, 46%, 25%)
HSVhsv(299, 63%, 37%)
CMYKcmyk(1.1%, 62.8%, 0%, 63.1%)
CIE-LABlab(24.76, 35.25, -23.01)
CIE-LCHlch(24.76, 42.09, 326.86°)
OKLaboklab(36.63% 0.0977 -0.0635)
OKLCHoklch(36.63% 0.116 327)
XYZxyz(7.1355, 4.3378, 11.0489)
Luminance0.0434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D235E #245E23
analogous
#3F235E #5D235E #5E2341
triadic
#5D235E #5E5D23 #235E5D
tetradic
#5D235E #5E3F23 #245E23 #23415E
square
#5D235E #5E3F23 #245E23 #23415E
split-complementary
#5D235E #415E23 #235E3F
monochromatic
#160816 #311231 #5D235E #89348B #B544B7

Accessibility & contrast

On white

11.25
#5D235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5D235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D235E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D235E#FFFFFF#000000##FFFFFF
##5D235E1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3660
Deuteranopia (green-blind)
#303D5C
Tritanopia (blue-blind)
#602A3D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5d235e;
/* rgb */ color: rgb(93, 35, 94);
/* oklch */ color: oklch(36.6% 0.116 327.0);
Tailwind
colors: {
  custom: {
    50: '#8d628c',
    500: '#5d235e',
    950: '#000000',
  },
}
SCSS
$custom: #5d235e;
$custom-light: #8d628c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d235e",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 298.983,
    "s": 45.736,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36626,
    "c": 0.11649,
    "h": 327
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#5D235E
secondary
#4C924B
accent
#D55255
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C050C
muted
#7D7A7D

Preview Lab

Preview with #5D235E

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

Preview Lab → · Contrast checker → · Palette generator →

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