#5D4F7C#5D4F7C

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

Color values

HEX#5D4F7C
RGBrgb(93, 79, 124)
HSLhsl(259, 22%, 40%)
HSVhsv(259, 36%, 49%)
CMYKcmyk(25%, 36.3%, 0%, 51.4%)
CIE-LABlab(36.70, 16.14, -23.40)
CIE-LCHlch(36.70, 28.42, 304.60°)
OKLaboklab(46.06% 0.0342 -0.0649)
OKLCHoklch(46.06% 0.073 297.8)
XYZxyz(10.9474, 9.3743, 20.2975)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4F7C #6E7C4F
analogous
#4F587C #5D4F7C #744F7C
triadic
#5D4F7C #7C5D4F #4F7C5D
tetradic
#5D4F7C #7C4F58 #6E7C4F #4F7C74
square
#5D4F7C #7C4F58 #6E7C4F #4F7C74
split-complementary
#5D4F7C #7C744F #587C4F
monochromatic
#251F31 #413757 #5D4F7C #7A699F #9B8EB7

Accessibility & contrast

On white

7.30
#5D4F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5D4F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4F7C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4F7C#FFFFFF#000000##FFFFFF
##5D4F7C1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567E
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#575660
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d4f7c;
/* rgb */ color: rgb(93, 79, 124);
/* oklch */ color: oklch(46.1% 0.073 297.8);
Tailwind
colors: {
  custom: {
    50: '#8c80a2',
    500: '#5d4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #5d4f7c;
$custom-light: #8c80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4f7c",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 258.667,
    "s": 22.167,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46061,
    "c": 0.07335,
    "h": 297.8
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#5D4F7C
secondary
#9AA483
accent
#BF69A4
background
#F8F7FA
surface
#F0EEF3
border
#CBC9CD
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5D4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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