#5D4F83#5D4F83

#5D4F83 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.4% C 0.084 H 295.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5D4F83
RGBrgb(93, 79, 131)
HSLhsl(256, 25%, 41%)
HSVhsv(256, 40%, 51%)
CMYKcmyk(29%, 39.7%, 0%, 48.6%)
CIE-LABlab(37.04, 18.02, -27.17)
CIE-LCHlch(37.04, 32.60, 303.55°)
OKLaboklab(46.43% 0.0359 -0.0758)
OKLCHoklch(46.43% 0.084 295.3)
XYZxyz(11.4059, 9.5577, 22.7122)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4F83 #75834F
analogous
#4F5B83 #5D4F83 #774F83
triadic
#5D4F83 #835D4F #4F835D
tetradic
#5D4F83 #834F5B #75834F #4F8377
square
#5D4F83 #834F5B #75834F #4F8377
split-complementary
#5D4F83 #83774F #5B834F
monochromatic
#272137 #42385D #5D4F83 #7A6AA5 #9C90BC

Accessibility & contrast

On white

7.21
#5D4F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5D4F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4F83
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4F83#FFFFFF#000000##FFFFFF
##5D4F831.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415885
Deuteranopia (green-blind)
#435682
Tritanopia (blue-blind)
#555863
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d4f83;
/* rgb */ color: rgb(93, 79, 131);
/* oklch */ color: oklch(46.4% 0.084 295.3);
Tailwind
colors: {
  custom: {
    50: '#8c80a7',
    500: '#5d4f83',
    950: '#000000',
  },
}
SCSS
$custom: #5d4f83;
$custom-light: #8c80a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4f83",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 131
  },
  "hsl": {
    "h": 256.154,
    "s": 24.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46433,
    "c": 0.08385,
    "h": 295.3
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#5D4F83
secondary
#9FA985
accent
#C167A9
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5D4F83

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

Preview Lab → · Contrast checker → · Palette generator →

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