#5C4E86#5C4E86

#5C4E86 is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.3% C 0.090 H 294.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5C4E86
RGBrgb(92, 78, 134)
HSLhsl(255, 26%, 42%)
HSVhsv(255, 42%, 53%)
CMYKcmyk(31.3%, 41.8%, 0%, 47.5%)
CIE-LABlab(36.83, 19.16, -29.34)
CIE-LCHlch(36.83, 35.05, 303.15°)
OKLaboklab(46.3% 0.0367 -0.0821)
OKLCHoklch(46.3% 0.09 294.1)
XYZxyz(11.4400, 9.4451, 23.7700)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4E86 #78864E
analogous
#4E5C86 #5C4E86 #784E86
triadic
#5C4E86 #865C4E #4E865C
tetradic
#5C4E86 #864E5C #78864E #4E8678
square
#5C4E86 #864E5C #78864E #4E8678
split-complementary
#5C4E86 #86784E #5C864E
monochromatic
#272139 #41375F #5C4E86 #7969A8 #9C90BE

Accessibility & contrast

On white

7.27
#5C4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5C4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4E86
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4E86#FFFFFF#000000##FFFFFF
##5C4E861.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5788
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#535863
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c4e86;
/* rgb */ color: rgb(92, 78, 134);
/* oklch */ color: oklch(46.3% 0.090 294.1);
Tailwind
colors: {
  custom: {
    50: '#8c7fa9',
    500: '#5c4e86',
    950: '#000000',
  },
}
SCSS
$custom: #5c4e86;
$custom-light: #8c7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4e86",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 255,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.08995,
    "h": 294.1
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#5C4E86
secondary
#A1AB85
accent
#C365AB
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5C4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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