#5D2384#5D2384

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

Color values

HEX#5D2384
RGBrgb(93, 35, 132)
HSLhsl(276, 58%, 33%)
HSVhsv(276, 73%, 52%)
CMYKcmyk(29.5%, 73.5%, 0%, 48.2%)
CIE-LABlab(27.28, 43.66, -43.33)
CIE-LCHlch(27.28, 61.51, 315.22°)
OKLaboklab(39.25% 0.0962 -0.1229)
OKLCHoklch(39.25% 0.156 308.1)
XYZxyz(9.2792, 5.1953, 22.3393)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2384 #4A8423
analogous
#2C2384 #5D2384 #84237B
triadic
#5D2384 #845D23 #23845D
tetradic
#5D2384 #842C23 #4A8423 #237B84
square
#5D2384 #842C23 #4A8423 #237B84
split-complementary
#5D2384 #7B8423 #23842C
monochromatic
#190923 #3B1654 #5D2384 #7F30B4 #9D51D1

Accessibility & contrast

On white

10.30
#5D2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2384
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2384#FFFFFF#000000##FFFFFF
##5D23841.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#074182
Tritanopia (blue-blind)
#573951
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5d2384;
/* rgb */ color: rgb(93, 35, 132);
/* oklch */ color: oklch(39.3% 0.156 308.1);
Tailwind
colors: {
  custom: {
    50: '#8f63a8',
    500: '#5d2384',
    950: '#000000',
  },
}
SCSS
$custom: #5d2384;
$custom-light: #8f63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2384",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 275.876,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39252,
    "c": 0.15606,
    "h": 308.1
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#5D2384
secondary
#77B44E
accent
#E14685
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2384

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

Preview Lab → · Contrast checker → · Palette generator →

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