#5D537C#5D537C

#5D537C is a mid, moderate violet. Relative luminance 0.100; OKLCH L 46.9% C 0.066 H 294.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5D537C
RGBrgb(93, 83, 124)
HSLhsl(255, 20%, 41%)
HSVhsv(255, 33%, 49%)
CMYKcmyk(25%, 33.1%, 0%, 51.4%)
CIE-LABlab(37.79, 13.62, -21.70)
CIE-LCHlch(37.79, 25.62, 302.11°)
OKLaboklab(46.9% 0.0279 -0.0601)
OKLCHoklch(46.9% 0.066 294.9)
XYZxyz(11.2447, 9.9688, 20.3966)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D537C #727C53
analogous
#535D7C #5D537C #71537C
triadic
#5D537C #7C5D53 #537C5D
tetradic
#5D537C #7C535D #727C53 #537C71
square
#5D537C #7C535D #727C53 #537C71
split-complementary
#5D537C #7C7153 #5D7C53
monochromatic
#262233 #423A57 #5D537C #7A6E9E #9C93B7

Accessibility & contrast

On white

7.01
#5D537C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5D537C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D537C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D537C#FFFFFF#000000##FFFFFF
##5D537C1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597E
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#575A62
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5d537c;
/* rgb */ color: rgb(93, 83, 124);
/* oklch */ color: oklch(46.9% 0.066 294.9);
Tailwind
colors: {
  custom: {
    50: '#8b83a2',
    500: '#5d537c',
    950: '#000000',
  },
}
SCSS
$custom: #5d537c;
$custom-light: #8b83a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d537c",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 124
  },
  "hsl": {
    "h": 254.634,
    "s": 19.807,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.06622,
    "h": 294.9
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#5D537C
secondary
#9DA487
accent
#BC6BA9
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0A0F
muted
#7D7C7E

Preview Lab

Preview with #5D537C

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

Preview Lab → · Contrast checker → · Palette generator →

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