#5C4F82#5C4F82

#5C4F82 is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.3% C 0.082 H 294.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5C4F82
RGBrgb(92, 79, 130)
HSLhsl(255, 24%, 41%)
HSVhsv(255, 39%, 51%)
CMYKcmyk(29.2%, 39.2%, 0%, 49%)
CIE-LABlab(36.89, 17.43, -26.79)
CIE-LCHlch(36.89, 31.96, 303.05°)
OKLaboklab(46.28% 0.0344 -0.0747)
OKLCHoklch(46.28% 0.082 294.7)
XYZxyz(11.2379, 9.4788, 22.3523)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4F82 #75824F
analogous
#4F5B82 #5C4F82 #754F82
triadic
#5C4F82 #825C4F #4F825C
tetradic
#5C4F82 #824F5B #75824F #4F8275
square
#5C4F82 #824F5B #75824F #4F8275
split-complementary
#5C4F82 #82754F #5B824F
monochromatic
#262136 #41385C #5C4F82 #796AA4 #9B90BB

Accessibility & contrast

On white

7.25
#5C4F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5C4F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4F82
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4F82#FFFFFF#000000##FFFFFF
##5C4F821.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415784
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#545862
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c4f82;
/* rgb */ color: rgb(92, 79, 130);
/* oklch */ color: oklch(46.3% 0.082 294.7);
Tailwind
colors: {
  custom: {
    50: '#8b80a6',
    500: '#5c4f82',
    950: '#000000',
  },
}
SCSS
$custom: #5c4f82;
$custom-light: #8b80a6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4f82",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 255.294,
    "s": 24.402,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46282,
    "c": 0.08224,
    "h": 294.7
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#5C4F82
secondary
#9FA885
accent
#C167AA
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5C4F82

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

Preview Lab → · Contrast checker → · Palette generator →

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