#5D2C83#5D2C83

#5D2C83 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.143 H 307.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#5D2C83
RGBrgb(93, 44, 131)
HSLhsl(274, 50%, 34%)
HSVhsv(274, 66%, 51%)
CMYKcmyk(29%, 66.4%, 0%, 48.6%)
CIE-LABlab(28.82, 38.95, -40.23)
CIE-LCHlch(28.82, 56.00, 314.07°)
OKLaboklab(40.33% 0.0858 -0.1138)
OKLCHoklch(40.33% 0.143 307)
XYZxyz(9.5108, 5.7673, 22.0805)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2C83 #52832C
analogous
#322C83 #5D2C83 #832C7E
triadic
#5D2C83 #835D2C #2C835D
tetradic
#5D2C83 #83322C #52832C #2C7E83
square
#5D2C83 #83322C #52832C #2C7E83
split-complementary
#5D2C83 #7E832C #2C8332
monochromatic
#1C0D27 #3C1D55 #5D2C83 #7E3BB1 #9B60CA

Accessibility & contrast

On white

9.75
#5D2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5D2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2C83
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2C83#FFFFFF#000000##FFFFFF
##5D2C831.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#573E53
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d2c83;
/* rgb */ color: rgb(93, 44, 131);
/* oklch */ color: oklch(40.3% 0.143 307.0);
Tailwind
colors: {
  custom: {
    50: '#8e68a8',
    500: '#5d2c83',
    950: '#000000',
  },
}
SCSS
$custom: #5d2c83;
$custom-light: #8e68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2c83",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 273.793,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.14255,
    "h": 307
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#5D2C83
secondary
#80B05B
accent
#D94F8B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #5D2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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