#5D358F#5D358F

#5D358F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.5% C 0.144 H 300.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#5D358F
RGBrgb(93, 53, 143)
HSLhsl(267, 46%, 38%)
HSVhsv(267, 63%, 56%)
CMYKcmyk(35%, 62.9%, 0%, 43.9%)
CIE-LABlab(31.48, 37.11, -43.39)
CIE-LCHlch(31.48, 57.09, 310.54°)
OKLaboklab(42.52% 0.0738 -0.1231)
OKLCHoklch(42.52% 0.144 300.9)
XYZxyz(10.7440, 6.8565, 26.7387)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D358F #678F35
analogous
#353A8F #5D358F #8A358F
triadic
#5D358F #8F5D35 #358F5D
tetradic
#5D358F #8F353A #678F35 #358F8A
square
#5D358F #8F353A #678F35 #358F8A
split-complementary
#5D358F #8F8A35 #3A8F35
monochromatic
#231436 #402462 #5D358F #7A47BB #9A73CB

Accessibility & contrast

On white

8.86
#5D358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5D358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D358F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D358F#FFFFFF#000000##FFFFFF
##5D358F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#164A8D
Tritanopia (blue-blind)
#53485D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d358f;
/* rgb */ color: rgb(93, 53, 143);
/* oklch */ color: oklch(42.5% 0.144 300.9);
Tailwind
colors: {
  custom: {
    50: '#8f6eb0',
    500: '#5d358f',
    950: '#000000',
  },
}
SCSS
$custom: #5d358f;
$custom-light: #8f6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d358f",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 266.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.14353,
    "h": 300.9
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

primary
#5D358F
secondary
#94B46C
accent
#D6529B
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5D358F

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

Preview Lab → · Contrast checker → · Palette generator →

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