#5D2385#5D2385

#5D2385 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.157 H 307.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#5D2385
RGBrgb(93, 35, 133)
HSLhsl(276, 58%, 33%)
HSVhsv(276, 74%, 52%)
CMYKcmyk(30.1%, 73.7%, 0%, 47.8%)
CIE-LABlab(27.36, 43.90, -43.83)
CIE-LCHlch(27.36, 62.04, 315.04°)
OKLaboklab(39.33% 0.0961 -0.1244)
OKLCHoklch(39.33% 0.157 307.7)
XYZxyz(9.3480, 5.2228, 22.7014)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2385 #4B8523
analogous
#2C2385 #5D2385 #85237C
triadic
#5D2385 #855D23 #23855D
tetradic
#5D2385 #852C23 #4B8523 #237C85
square
#5D2385 #852C23 #4B8523 #237C85
split-complementary
#5D2385 #7C8523 #23852C
monochromatic
#190924 #3B1655 #5D2385 #7F30B5 #9D51D1

Accessibility & contrast

On white

10.27
#5D2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5D2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2385
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2385#FFFFFF#000000##FFFFFF
##5D23851.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#044183
Tritanopia (blue-blind)
#573A52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5d2385;
/* rgb */ color: rgb(93, 35, 133);
/* oklch */ color: oklch(39.3% 0.157 307.7);
Tailwind
colors: {
  custom: {
    50: '#8f63a9',
    500: '#5d2385',
    950: '#000000',
  },
}
SCSS
$custom: #5d2385;
$custom-light: #8f63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2385",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 275.51,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.15713,
    "h": 307.7
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#5D2385
secondary
#79B54F
accent
#E24686
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2385

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

Preview Lab → · Contrast checker → · Palette generator →

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