#5D349E#5D349E

#5D349E is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.5% C 0.163 H 296.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#5D349E
RGBrgb(93, 52, 158)
HSLhsl(263, 50%, 41%)
HSVhsv(263, 67%, 62%)
CMYKcmyk(41.1%, 67.1%, 0%, 38%)
CIE-LABlab(32.37, 41.72, -51.09)
CIE-LCHlch(32.37, 65.96, 309.23°)
OKLaboklab(43.52% 0.0736 -0.1458)
OKLCHoklch(43.52% 0.163 296.8)
XYZxyz(11.9121, 7.2515, 33.1132)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D349E #759E34
analogous
#34409E #5D349E #92349E
triadic
#5D349E #9E5D34 #349E5D
tetradic
#5D349E #9E3440 #759E34 #349E92
square
#5D349E #9E3440 #759E34 #349E92
split-complementary
#5D349E #9E9234 #409E34
monochromatic
#271642 #422570 #5D349E #7A4BC4 #9C79D3

Accessibility & contrast

On white

8.57
#5D349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5D349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D349E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D349E#FFFFFF#000000##FFFFFF
##5D349E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#4D4D64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d349e;
/* rgb */ color: rgb(93, 52, 158);
/* oklch */ color: oklch(43.5% 0.163 296.8);
Tailwind
colors: {
  custom: {
    50: '#906ebb',
    500: '#5d349e',
    950: '#000000',
  },
}
SCSS
$custom: #5d349e;
$custom-light: #906ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d349e",
  "rgb": {
    "r": 93,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 263.208,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43518,
    "c": 0.16333,
    "h": 296.8
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#5D349E
secondary
#9FBC72
accent
#DA4EA4
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5D349E

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

Preview Lab → · Contrast checker → · Palette generator →

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