#5D358D#5D358D

#5D358D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.141 H 301.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#5D358D
RGBrgb(93, 53, 141)
HSLhsl(267, 45%, 38%)
HSVhsv(267, 62%, 55%)
CMYKcmyk(34%, 62.4%, 0%, 44.7%)
CIE-LABlab(31.34, 36.58, -42.38)
CIE-LCHlch(31.34, 55.98, 310.80°)
OKLaboklab(42.38% 0.0739 -0.1202)
OKLCHoklch(42.38% 0.141 301.6)
XYZxyz(10.5939, 6.7964, 25.9479)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D358D #658D35
analogous
#35398D #5D358D #89358D
triadic
#5D358D #8D5D35 #358D5D
tetradic
#5D358D #8D3539 #658D35 #358D89
square
#5D358D #8D3539 #658D35 #358D89
split-complementary
#5D358D #8D8935 #398D35
monochromatic
#221434 #402461 #5D358D #7A46B9 #9A72CA

Accessibility & contrast

On white

8.90
#5D358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5D358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D358D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D358D#FFFFFF#000000##FFFFFF
##5D358D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#53475C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d358d;
/* rgb */ color: rgb(93, 53, 141);
/* oklch */ color: oklch(42.4% 0.141 301.6);
Tailwind
colors: {
  custom: {
    50: '#8e6eaf',
    500: '#5d358d',
    950: '#000000',
  },
}
SCSS
$custom: #5d358d;
$custom-light: #8e6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d358d",
  "rgb": {
    "r": 93,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 267.273,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42377,
    "c": 0.14105,
    "h": 301.6
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#5D358D
secondary
#92B26B
accent
#D5539A
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5D358D

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

Preview Lab → · Contrast checker → · Palette generator →

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