#5D2B79#5D2B79

#5D2B79 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.133 H 311.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#5D2B79
RGBrgb(93, 43, 121)
HSLhsl(278, 48%, 32%)
HSVhsv(278, 64%, 47%)
CMYKcmyk(23.1%, 64.5%, 0%, 52.5%)
CIE-LABlab(27.94, 37.04, -35.35)
CIE-LCHlch(27.94, 51.20, 316.34°)
OKLaboklab(39.48% 0.0876 -0.0995)
OKLCHoklch(39.48% 0.133 311.4)
XYZxyz(8.8286, 5.4356, 18.6695)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2B79 #47792B
analogous
#362B79 #5D2B79 #792B6E
triadic
#5D2B79 #795D2B #2B795D
tetradic
#5D2B79 #79362B #47792B #2B6E79
square
#5D2B79 #79362B #47792B #2B6E79
split-complementary
#5D2B79 #6E792B #2B7936
monochromatic
#180B1F #3A1B4C #5D2B79 #803BA6 #9E5AC4

Accessibility & contrast

On white

10.06
#5D2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5D2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2B79
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2B79#FFFFFF#000000##FFFFFF
##5D2B791.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407B
Deuteranopia (green-blind)
#244377
Tritanopia (blue-blind)
#5A3A4E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5d2b79;
/* rgb */ color: rgb(93, 43, 121);
/* oklch */ color: oklch(39.5% 0.133 311.4);
Tailwind
colors: {
  custom: {
    50: '#8e68a0',
    500: '#5d2b79',
    950: '#000000',
  },
}
SCSS
$custom: #5d2b79;
$custom-light: #8e68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2b79",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 278.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.13255,
    "h": 311.4
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#5D2B79
secondary
#74AA56
accent
#D75181
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #5D2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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