#5D359B#5D359B

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

Color values

HEX#5D359B
RGBrgb(93, 53, 155)
HSLhsl(264, 49%, 41%)
HSVhsv(264, 66%, 61%)
CMYKcmyk(40%, 65.8%, 0%, 39.2%)
CIE-LABlab(32.35, 40.35, -49.32)
CIE-LCHlch(32.35, 63.72, 309.29°)
OKLaboklab(43.43% 0.0729 -0.1406)
OKLCHoklch(43.43% 0.158 297.4)
XYZxyz(11.7022, 7.2397, 31.7849)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D359B #739B35
analogous
#35409B #5D359B #90359B
triadic
#5D359B #9B5D35 #359B5D
tetradic
#5D359B #9B3540 #739B35 #359B90
square
#5D359B #9B3540 #739B35 #359B90
split-complementary
#5D359B #9B9035 #409B35
monochromatic
#261640 #42256D #5D359B #7A4CC2 #9C79D1

Accessibility & contrast

On white

8.58
#5D359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D359B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D359B#FFFFFF#000000##FFFFFF
##5D359B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#4E4C63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d359b;
/* rgb */ color: rgb(93, 53, 155);
/* oklch */ color: oklch(43.4% 0.158 297.4);
Tailwind
colors: {
  custom: {
    50: '#906fb9',
    500: '#5d359b',
    950: '#000000',
  },
}
SCSS
$custom: #5d359b;
$custom-light: #906fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d359b",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 263.529,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.15832,
    "h": 297.4
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#5D359B
secondary
#9EBA72
accent
#D94FA3
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5D359B

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

Preview Lab → · Contrast checker → · Palette generator →

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