#5D4F7D#5D4F7D

#5D4F7D is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.1% C 0.075 H 297.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5D4F7D
RGBrgb(93, 79, 125)
HSLhsl(258, 23%, 40%)
HSVhsv(258, 37%, 49%)
CMYKcmyk(25.6%, 36.8%, 0%, 51%)
CIE-LABlab(36.74, 16.40, -23.94)
CIE-LCHlch(36.74, 29.02, 304.42°)
OKLaboklab(46.11% 0.0344 -0.0665)
OKLCHoklch(46.11% 0.075 297.4)
XYZxyz(11.0110, 9.3997, 20.6323)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4F7D #6F7D4F
analogous
#4F587D #5D4F7D #744F7D
triadic
#5D4F7D #7D5D4F #4F7D5D
tetradic
#5D4F7D #7D4F58 #6F7D4F #4F7D74
square
#5D4F7D #7D4F58 #6F7D4F #4F7D74
split-complementary
#5D4F7D #7D744F #587D4F
monochromatic
#252032 #413757 #5D4F7D #7A69A0 #9B8FB8

Accessibility & contrast

On white

7.29
#5D4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5D4F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4F7D
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4F7D#FFFFFF#000000##FFFFFF
##5D4F7D1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43577F
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#575760
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d4f7d;
/* rgb */ color: rgb(93, 79, 125);
/* oklch */ color: oklch(46.1% 0.075 297.4);
Tailwind
colors: {
  custom: {
    50: '#8c80a3',
    500: '#5d4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #5d4f7d;
$custom-light: #8c80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4f7d",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 258.261,
    "s": 22.549,
    "l": 40
  },
  "oklch": {
    "l": 0.46113,
    "c": 0.07486,
    "h": 297.4
  },
  "luminance": 0.094
}

Semantic roles & 50–950 ramp

primary
#5D4F7D
secondary
#9BA583
accent
#BF69A5
background
#F8F7FA
surface
#F0EEF3
border
#CBC9CD
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5D4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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