#5D359A#5D359A

#5D359A is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.157 H 297.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#5D359A
RGBrgb(93, 53, 154)
HSLhsl(264, 49%, 41%)
HSVhsv(264, 66%, 60%)
CMYKcmyk(39.6%, 65.6%, 0%, 39.6%)
CIE-LABlab(32.27, 40.08, -48.83)
CIE-LCHlch(32.27, 63.17, 309.38°)
OKLaboklab(43.35% 0.073 -0.1391)
OKLCHoklch(43.35% 0.157 297.7)
XYZxyz(11.6186, 7.2063, 31.3444)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D359A #729A35
analogous
#35409A #5D359A #8F359A
triadic
#5D359A #9A5D35 #359A5D
tetradic
#5D359A #9A3540 #729A35 #359A8F
square
#5D359A #9A3540 #729A35 #359A8F
split-complementary
#5D359A #9A8F35 #409A35
monochromatic
#26163F #42256C #5D359A #7A4BC1 #9C79D1

Accessibility & contrast

On white

8.60
#5D359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5D359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D359A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D359A#FFFFFF#000000##FFFFFF
##5D359A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#4E4C62
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d359a;
/* rgb */ color: rgb(93, 53, 154);
/* oklch */ color: oklch(43.4% 0.157 297.7);
Tailwind
colors: {
  custom: {
    50: '#906fb8',
    500: '#5d359a',
    950: '#000000',
  },
}
SCSS
$custom: #5d359a;
$custom-light: #906fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d359a",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 263.762,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4335,
    "c": 0.1571,
    "h": 297.7
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#5D359A
secondary
#9DB971
accent
#D84FA2
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D359A

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

Preview Lab → · Contrast checker → · Palette generator →

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