#5D328D#5D328D

#5D328D is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.146 H 302.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#5D328D
RGBrgb(93, 50, 141)
HSLhsl(268, 48%, 37%)
HSVhsv(268, 65%, 55%)
CMYKcmyk(34%, 64.5%, 0%, 44.7%)
CIE-LABlab(30.72, 38.26, -43.38)
CIE-LCHlch(30.72, 57.84, 311.41°)
OKLaboklab(41.93% 0.0777 -0.1231)
OKLCHoklch(41.93% 0.146 302.2)
XYZxyz(10.4614, 6.5314, 25.9037)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D328D #628D32
analogous
#32348D #5D328D #8B328D
triadic
#5D328D #8D5D32 #328D5D
tetradic
#5D328D #8D3234 #628D32 #328D8B
square
#5D328D #8D3234 #628D32 #328D8B
split-complementary
#5D328D #8D8B32 #348D32
monochromatic
#211233 #3F2260 #5D328D #7B42BA #9A6ECC

Accessibility & contrast

On white

9.11
#5D328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5D328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D328D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D328D#FFFFFF#000000##FFFFFF
##5D328D1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#53465B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5d328d;
/* rgb */ color: rgb(93, 50, 141);
/* oklch */ color: oklch(41.9% 0.146 302.2);
Tailwind
colors: {
  custom: {
    50: '#8f6caf',
    500: '#5d328d',
    950: '#000000',
  },
}
SCSS
$custom: #5d328d;
$custom-light: #8f6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d328d",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 268.352,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.14555,
    "h": 302.2
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#5D328D
secondary
#8FB368
accent
#D75198
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5D328D

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

Preview Lab → · Contrast checker → · Palette generator →

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