#5D388F#5D388F

#5D388F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.0% C 0.139 H 300.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#5D388F
RGBrgb(93, 56, 143)
HSLhsl(266, 44%, 39%)
HSVhsv(266, 61%, 56%)
CMYKcmyk(35%, 60.8%, 0%, 43.9%)
CIE-LABlab(32.12, 35.40, -42.35)
CIE-LCHlch(32.12, 55.19, 309.89°)
OKLaboklab(42.99% 0.07 -0.1201)
OKLCHoklch(42.99% 0.139 300.2)
XYZxyz(10.8851, 7.1386, 26.7857)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D388F #6A8F38
analogous
#383F8F #5D388F #89388F
triadic
#5D388F #8F5D38 #388F5D
tetradic
#5D388F #8F383F #6A8F38 #388F89
square
#5D388F #8F383F #6A8F38 #388F89
split-complementary
#5D388F #8F8938 #3F8F38
monochromatic
#241637 #402763 #5D388F #7A4BB9 #9B77CA

Accessibility & contrast

On white

8.65
#5D388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5D388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D388F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D388F#FFFFFF#000000##FFFFFF
##5D388F1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074B92
Deuteranopia (green-blind)
#1C4B8D
Tritanopia (blue-blind)
#524A5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d388f;
/* rgb */ color: rgb(93, 56, 143);
/* oklch */ color: oklch(43.0% 0.139 300.2);
Tailwind
colors: {
  custom: {
    50: '#8e70b0',
    500: '#5d388f',
    950: '#000000',
  },
}
SCSS
$custom: #5d388f;
$custom-light: #8e70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d388f",
  "rgb": {
    "r": 93,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 265.517,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.13898,
    "h": 300.2
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#5D388F
secondary
#96B370
accent
#D3549D
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5D388F

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

Preview Lab → · Contrast checker → · Palette generator →

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