#5D2B89#5D2B89

#5D2B89 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.151 H 305.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#5D2B89
RGBrgb(93, 43, 137)
HSLhsl(272, 52%, 35%)
HSVhsv(272, 69%, 54%)
CMYKcmyk(32.1%, 68.6%, 0%, 46.3%)
CIE-LABlab(29.06, 40.97, -43.58)
CIE-LCHlch(29.06, 59.82, 313.23°)
OKLaboklab(40.64% 0.0865 -0.1237)
OKLCHoklch(40.64% 0.151 305)
XYZxyz(9.8924, 5.8611, 24.2722)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2B89 #57892B
analogous
#2E2B89 #5D2B89 #892B86
triadic
#5D2B89 #895D2B #2B895D
tetradic
#5D2B89 #892E2B #57892B #2B8689
square
#5D2B89 #892E2B #57892B #2B8689
split-complementary
#5D2B89 #86892B #2B892E
monochromatic
#1E0E2C #3D1C5A #5D2B89 #7D3AB8 #9B61CD

Accessibility & contrast

On white

9.67
#5D2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5D2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2B89
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2B89#FFFFFF#000000##FFFFFF
##5D2B891.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#0D4587
Tritanopia (blue-blind)
#554056
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d2b89;
/* rgb */ color: rgb(93, 43, 137);
/* oklch */ color: oklch(40.6% 0.151 305.0);
Tailwind
colors: {
  custom: {
    50: '#8f68ac',
    500: '#5d2b89',
    950: '#000000',
  },
}
SCSS
$custom: #5d2b89;
$custom-light: #8f68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2b89",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 271.915,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40639,
    "c": 0.1509,
    "h": 305
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#5D2B89
secondary
#85B35C
accent
#DC4C8F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5D2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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