#5D2A67#5D2A67

#5D2A67 is a dark, moderate purple. Relative luminance 0.050; OKLCH L 38.2% C 0.114 H 320.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#5D2A67
RGBrgb(93, 42, 103)
HSLhsl(290, 42%, 28%)
HSVhsv(290, 59%, 40%)
CMYKcmyk(9.7%, 59.2%, 0%, 59.6%)
CIE-LABlab(26.63, 33.45, -25.93)
CIE-LCHlch(26.63, 42.32, 322.22°)
OKLaboklab(38.16% 0.0884 -0.072)
OKLCHoklch(38.16% 0.114 320.8)
XYZxyz(7.7901, 4.9627, 13.3769)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2A67 #34672A
analogous
#3E2A67 #5D2A67 #672A52
triadic
#5D2A67 #675D2A #2A675D
tetradic
#5D2A67 #673E2A #34672A #2A5267
square
#5D2A67 #673E2A #34672A #2A5267
split-complementary
#5D2A67 #52672A #2A673E
monochromatic
#140916 #36183C #5D2A67 #843C92 #A853B9

Accessibility & contrast

On white

10.54
#5D2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2A67
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2A67#FFFFFF#000000##FFFFFF
##5D2A671.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B69
Deuteranopia (green-blind)
#304165
Tritanopia (blue-blind)
#5E3344
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5d2a67;
/* rgb */ color: rgb(93, 42, 103);
/* oklch */ color: oklch(38.2% 0.114 320.8);
Tailwind
colors: {
  custom: {
    50: '#8d6692',
    500: '#5d2a67',
    950: '#000000',
  },
}
SCSS
$custom: #5d2a67;
$custom-light: #8d6692;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2a67",
  "rgb": {
    "r": 93,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 290.164,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38159,
    "c": 0.11399,
    "h": 320.8
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#5D2A67
secondary
#5F9954
accent
#D2566A
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C060D
muted
#7D7A7E

Preview Lab

Preview with #5D2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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