#5D388D#5D388D

#5D388D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.8% C 0.136 H 300.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#5D388D
RGBrgb(93, 56, 141)
HSLhsl(266, 43%, 39%)
HSVhsv(266, 60%, 55%)
CMYKcmyk(34%, 60.3%, 0%, 44.7%)
CIE-LABlab(31.98, 34.86, -41.34)
CIE-LCHlch(31.98, 54.07, 310.14°)
OKLaboklab(42.85% 0.07 -0.1171)
OKLCHoklch(42.85% 0.136 300.9)
XYZxyz(10.7350, 7.0785, 25.9949)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D388D #688D38
analogous
#383D8D #5D388D #87388D
triadic
#5D388D #8D5D38 #388D5D
tetradic
#5D388D #8D383D #688D38 #388D87
square
#5D388D #8D383D #688D38 #388D87
split-complementary
#5D388D #8D8738 #3D8D38
monochromatic
#231535 #402761 #5D388D #7A4BB7 #9A77C9

Accessibility & contrast

On white

8.69
#5D388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5D388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D388D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D388D#FFFFFF#000000##FFFFFF
##5D388D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B90
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#53495D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d388d;
/* rgb */ color: rgb(93, 56, 141);
/* oklch */ color: oklch(42.8% 0.136 300.9);
Tailwind
colors: {
  custom: {
    50: '#8e70af',
    500: '#5d388d',
    950: '#000000',
  },
}
SCSS
$custom: #5d388d;
$custom-light: #8e70af;
$custom-dark: #000000;
JSON
{
  "hex": "#5d388d",
  "rgb": {
    "r": 93,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 266.118,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.13644,
    "h": 300.9
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#5D388D
secondary
#95B26F
accent
#D3559C
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0D0710
muted
#7D7A7F

Preview Lab

Preview with #5D388D

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

Preview Lab → · Contrast checker → · Palette generator →

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