#5D359E#5D359E

#5D359E is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.162 H 296.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5D359E
RGBrgb(93, 53, 158)
HSLhsl(263, 50%, 41%)
HSVhsv(263, 66%, 62%)
CMYKcmyk(41.1%, 66.5%, 0%, 38%)
CIE-LABlab(32.57, 41.17, -50.77)
CIE-LCHlch(32.57, 65.37, 309.04°)
OKLaboklab(43.66% 0.0725 -0.1448)
OKLCHoklch(43.66% 0.162 296.6)
XYZxyz(11.9573, 7.3418, 33.1282)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D359E #769E35
analogous
#35429E #5D359E #92359E
triadic
#5D359E #9E5D35 #359E5D
tetradic
#5D359E #9E3542 #769E35 #359E92
square
#5D359E #9E3542 #769E35 #359E92
split-complementary
#5D359E #9E9235 #429E35
monochromatic
#271642 #422670 #5D359E #7A4DC3 #9C7BD3

Accessibility & contrast

On white

8.51
#5D359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5D359E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D359E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D359E#FFFFFF#000000##FFFFFF
##5D359E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d359e;
/* rgb */ color: rgb(93, 53, 158);
/* oklch */ color: oklch(43.7% 0.162 296.6);
Tailwind
colors: {
  custom: {
    50: '#906fbb',
    500: '#5d359e',
    950: '#000000',
  },
}
SCSS
$custom: #5d359e;
$custom-light: #906fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d359e",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 262.857,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43662,
    "c": 0.16198,
    "h": 296.6
  },
  "luminance": 0.07342
}

Semantic roles & 50–950 ramp

primary
#5D359E
secondary
#A0BB73
accent
#D94FA4
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5D359E

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

Preview Lab → · Contrast checker → · Palette generator →

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