#5D349A#5D349A

#5D349A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.158 H 297.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#5D349A
RGBrgb(93, 52, 154)
HSLhsl(264, 50%, 40%)
HSVhsv(264, 66%, 60%)
CMYKcmyk(39.6%, 66.2%, 0%, 39.6%)
CIE-LABlab(32.07, 40.63, -49.16)
CIE-LCHlch(32.07, 63.77, 309.57°)
OKLaboklab(43.2% 0.0741 -0.1401)
OKLCHoklch(43.2% 0.158 297.9)
XYZxyz(11.5734, 7.1161, 31.3294)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D349A #719A34
analogous
#343E9A #5D349A #90349A
triadic
#5D349A #9A5D34 #349A5D
tetradic
#5D349A #9A343E #719A34 #349A90
square
#5D349A #9A343E #719A34 #349A90
split-complementary
#5D349A #9A9034 #3E9A34
monochromatic
#26153E #41256C #5D349A #7A49C2 #9B77D1

Accessibility & contrast

On white

8.67
#5D349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5D349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D349A
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D349A#FFFFFF#000000##FFFFFF
##5D349A1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#4E4B62
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d349a;
/* rgb */ color: rgb(93, 52, 154);
/* oklch */ color: oklch(43.2% 0.158 297.9);
Tailwind
colors: {
  custom: {
    50: '#906eb8',
    500: '#5d349a',
    950: '#000000',
  },
}
SCSS
$custom: #5d349a;
$custom-light: #906eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d349a",
  "rgb": {
    "r": 93,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 264.118,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43204,
    "c": 0.15849,
    "h": 297.9
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#5D349A
secondary
#9CBA70
accent
#D94FA1
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D349A

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

Preview Lab → · Contrast checker → · Palette generator →

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