#5D4E72#5D4E72

#5D4E72 is a mid, moderate violet. Relative luminance 0.090; OKLCH L 45.4% C 0.060 H 303.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5D4E72
RGBrgb(93, 78, 114)
HSLhsl(265, 19%, 38%)
HSVhsv(265, 32%, 45%)
CMYKcmyk(18.4%, 31.6%, 0%, 55.3%)
CIE-LABlab(35.97, 14.19, -18.33)
CIE-LCHlch(35.97, 23.18, 307.75°)
OKLaboklab(45.35% 0.033 -0.0504)
OKLCHoklch(45.35% 0.06 303.2)
XYZxyz(10.2752, 8.9909, 17.1104)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E72 #63724E
analogous
#4E5172 #5D4E72 #6F4E72
triadic
#5D4E72 #725D4E #4E725D
tetradic
#5D4E72 #724E51 #63724E #4E726F
square
#5D4E72 #724E51 #63724E #4E726F
split-complementary
#5D4E72 #726F4E #51724E
monochromatic
#221C29 #3F354E #5D4E72 #7B6796 #9A8BB0

Accessibility & contrast

On white

7.50
#5D4E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5D4E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E72
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E72#FFFFFF#000000##FFFFFF
##5D4E721.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#495571
Tritanopia (blue-blind)
#5A535B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d4e72;
/* rgb */ color: rgb(93, 78, 114);
/* oklch */ color: oklch(45.4% 0.060 303.2);
Tailwind
colors: {
  custom: {
    50: '#8b7f9a',
    500: '#5d4e72',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e72;
$custom-light: #8b7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e72",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 265,
    "s": 18.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.06022,
    "h": 303.2
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#5D4E72
secondary
#909D7F
accent
#BB6C9A
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5D4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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