#5D359F#5D359F

#5D359F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.7% C 0.163 H 296.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#5D359F
RGBrgb(93, 53, 159)
HSLhsl(263, 50%, 42%)
HSVhsv(263, 67%, 62%)
CMYKcmyk(41.5%, 66.7%, 0%, 37.6%)
CIE-LABlab(32.65, 41.44, -51.25)
CIE-LCHlch(32.65, 65.91, 308.96°)
OKLaboklab(43.74% 0.0724 -0.1462)
OKLCHoklch(43.74% 0.163 296.3)
XYZxyz(12.0437, 7.3763, 33.5834)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D359F #779F35
analogous
#35429F #5D359F #92359F
triadic
#5D359F #9F5D35 #359F5D
tetradic
#5D359F #9F3542 #779F35 #359F92
square
#5D359F #9F3542 #779F35 #359F92
split-complementary
#5D359F #9F9235 #429F35
monochromatic
#271643 #422671 #5D359F #7A4DC4 #9C7BD3

Accessibility & contrast

On white

8.48
#5D359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5D359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D359F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D359F#FFFFFF#000000##FFFFFF
##5D359F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#4C4E65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d359f;
/* rgb */ color: rgb(93, 53, 159);
/* oklch */ color: oklch(43.7% 0.163 296.3);
Tailwind
colors: {
  custom: {
    50: '#906fbc',
    500: '#5d359f',
    950: '#000000',
  },
}
SCSS
$custom: #5d359f;
$custom-light: #906fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d359f",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 262.642,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43741,
    "c": 0.16319,
    "h": 296.3
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#5D359F
secondary
#A1BC74
accent
#DA4EA5
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5D359F

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

Preview Lab → · Contrast checker → · Palette generator →

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