#5D359C#5D359C

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

Color values

HEX#5D359C
RGBrgb(93, 53, 156)
HSLhsl(263, 49%, 41%)
HSVhsv(263, 66%, 61%)
CMYKcmyk(40.4%, 66%, 0%, 38.8%)
CIE-LABlab(32.42, 40.62, -49.80)
CIE-LCHlch(32.42, 64.27, 309.20°)
OKLaboklab(43.51% 0.0728 -0.142)
OKLCHoklch(43.51% 0.16 297.1)
XYZxyz(11.7865, 7.2735, 32.2290)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D359C #749C35
analogous
#35409C #5D359C #90359C
triadic
#5D359C #9C5D35 #359C5D
tetradic
#5D359C #9C3540 #749C35 #359C90
square
#5D359C #9C3540 #749C35 #359C90
split-complementary
#5D359C #9C9035 #409C35
monochromatic
#271641 #42256E #5D359C #7A4CC2 #9C7AD2

Accessibility & contrast

On white

8.55
#5D359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D359C
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D359C#FFFFFF#000000##FFFFFF
##5D359C1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#4E4D64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d359c;
/* rgb */ color: rgb(93, 53, 156);
/* oklch */ color: oklch(43.5% 0.160 297.1);
Tailwind
colors: {
  custom: {
    50: '#906fba',
    500: '#5d359c',
    950: '#000000',
  },
}
SCSS
$custom: #5d359c;
$custom-light: #906fba;
$custom-dark: #000000;
JSON
{
  "hex": "#5d359c",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 263.301,
    "s": 49.282,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.15954,
    "h": 297.1
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D359C

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

Preview Lab → · Contrast checker → · Palette generator →

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