#5D2B80#5D2B80

#5D2B80 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.141 H 308.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#5D2B80
RGBrgb(93, 43, 128)
HSLhsl(275, 50%, 34%)
HSVhsv(275, 66%, 50%)
CMYKcmyk(27.3%, 66.4%, 0%, 49.8%)
CIE-LABlab(28.42, 38.74, -39.00)
CIE-LCHlch(28.42, 54.97, 314.81°)
OKLaboklab(39.97% 0.0873 -0.1102)
OKLCHoklch(39.97% 0.141 308.4)
XYZxyz(9.2736, 5.6136, 21.0129)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2B80 #4E802B
analogous
#322B80 #5D2B80 #802B78
triadic
#5D2B80 #805D2B #2B805D
tetradic
#5D2B80 #80322B #4E802B #2B7880
square
#5D2B80 #80322B #4E802B #2B7880
split-complementary
#5D2B80 #78802B #2B8032
monochromatic
#1A0C24 #3C1C52 #5D2B80 #7E3AAE #9C5DC9

Accessibility & contrast

On white

9.89
#5D2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5D2B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2B80
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2B80#FFFFFF#000000##FFFFFF
##5D2B801.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#1C447E
Tritanopia (blue-blind)
#583C51
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5d2b80;
/* rgb */ color: rgb(93, 43, 128);
/* oklch */ color: oklch(40.0% 0.141 308.4);
Tailwind
colors: {
  custom: {
    50: '#8e68a5',
    500: '#5d2b80',
    950: '#000000',
  },
}
SCSS
$custom: #5d2b80;
$custom-light: #8e68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2b80",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 275.294,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.14058,
    "h": 308.4
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#5D2B80
secondary
#7CAE58
accent
#D94F88
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D060F
muted
#7D7A7F

Preview Lab

Preview with #5D2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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