#5C507A#5C507A

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

Color values

HEX#5C507A
RGBrgb(92, 80, 122)
HSLhsl(257, 21%, 40%)
HSVhsv(257, 34%, 48%)
CMYKcmyk(24.6%, 34.4%, 0%, 52.2%)
CIE-LABlab(36.78, 14.65, -22.04)
CIE-LCHlch(36.78, 26.47, 303.61°)
OKLaboklab(46.07% 0.0308 -0.061)
OKLCHoklch(46.07% 0.068 296.8)
XYZxyz(10.7943, 9.4177, 19.6577)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C507A #6E7A50
analogous
#50597A #5C507A #71507A
triadic
#5C507A #7A5C50 #507A5C
tetradic
#5C507A #7A5059 #6E7A50 #507A71
square
#5C507A #7A5059 #6E7A50 #507A71
split-complementary
#5C507A #7A7150 #597A50
monochromatic
#242030 #403855 #5C507A #796A9D #9A8FB5

Accessibility & contrast

On white

7.28
#5C507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C507A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C507A#FFFFFF#000000##FFFFFF
##5C507A1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577C
Deuteranopia (green-blind)
#485679
Tritanopia (blue-blind)
#56575F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c507a;
/* rgb */ color: rgb(92, 80, 122);
/* oklch */ color: oklch(46.1% 0.068 296.8);
Tailwind
colors: {
  custom: {
    50: '#8b81a0',
    500: '#5c507a',
    950: '#000000',
  },
}
SCSS
$custom: #5c507a;
$custom-light: #8b81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c507a",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 257.143,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46069,
    "c": 0.06836,
    "h": 296.8
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#5C507A
secondary
#9AA383
accent
#BD6AA6
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5C507A

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

Preview Lab → · Contrast checker → · Palette generator →

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