#5D2E83#5D2E83

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

Color values

HEX#5D2E83
RGBrgb(93, 46, 131)
HSLhsl(273, 48%, 35%)
HSVhsv(273, 65%, 51%)
CMYKcmyk(29%, 64.9%, 0%, 48.6%)
CIE-LABlab(29.21, 37.88, -39.60)
CIE-LCHlch(29.21, 54.80, 313.73°)
OKLaboklab(40.61% 0.0833 -0.112)
OKLCHoklch(40.61% 0.14 306.6)
XYZxyz(9.5871, 5.9199, 22.1059)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2E83 #54832E
analogous
#322E83 #5D2E83 #832E7F
triadic
#5D2E83 #835D2E #2E835D
tetradic
#5D2E83 #83322E #54832E #2E7F83
square
#5D2E83 #83322E #54832E #2E7F83
split-complementary
#5D2E83 #7F832E #2E8332
monochromatic
#1D0E28 #3D1E56 #5D2E83 #7D3EB0 #9B63C8

Accessibility & contrast

On white

9.62
#5D2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5D2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2E83
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2E83#FFFFFF#000000##FFFFFF
##5D2E831.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#1D4581
Tritanopia (blue-blind)
#573F54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5d2e83;
/* rgb */ color: rgb(93, 46, 131);
/* oklch */ color: oklch(40.6% 0.140 306.6);
Tailwind
colors: {
  custom: {
    50: '#8e6aa8',
    500: '#5d2e83',
    950: '#000000',
  },
}
SCSS
$custom: #5d2e83;
$custom-light: #8e6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2e83",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 273.176,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40611,
    "c": 0.13957,
    "h": 306.6
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#5D2E83
secondary
#82AF5E
accent
#D8508D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D060F
muted
#7D7A7F

Preview Lab

Preview with #5D2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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