#5C497E#5C497E

#5C497E is a dark, moderate violet. Relative luminance 0.085; OKLCH L 44.9% C 0.087 H 299.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5C497E
RGBrgb(92, 73, 126)
HSLhsl(262, 27%, 39%)
HSVhsv(262, 42%, 49%)
CMYKcmyk(27%, 42.1%, 0%, 50.6%)
CIE-LABlab(35.10, 20.13, -27.14)
CIE-LCHlch(35.10, 33.79, 306.57°)
OKLaboklab(44.85% 0.0427 -0.0757)
OKLCHoklch(44.85% 0.087 299.4)
XYZxyz(10.5612, 8.5467, 20.8279)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C497E #6B7E49
analogous
#49517E #5C497E #77497E
triadic
#5C497E #7E5C49 #497E5C
tetradic
#5C497E #7E4951 #6B7E49 #497E77
square
#5C497E #7E4951 #6B7E49 #497E77
split-complementary
#5C497E #7E7749 #517E49
monochromatic
#231C31 #403357 #5C497E #7961A3 #9A88BA

Accessibility & contrast

On white

7.75
#5C497E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5C497E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C497E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C497E#FFFFFF#000000##FFFFFF
##5C497E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5280
Deuteranopia (green-blind)
#3F527D
Tritanopia (blue-blind)
#56525D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c497e;
/* rgb */ color: rgb(92, 73, 126);
/* oklch */ color: oklch(44.9% 0.087 299.4);
Tailwind
colors: {
  custom: {
    50: '#8b7ca3',
    500: '#5c497e',
    950: '#000000',
  },
}
SCSS
$custom: #5c497e;
$custom-light: #8b7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c497e",
  "rgb": {
    "r": 92,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 261.509,
    "s": 26.633,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.08691,
    "h": 299.4
  },
  "luminance": 0.08547
}

Semantic roles & 50–950 ramp

primary
#5C497E
secondary
#97A67D
accent
#C365A1
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #5C497E

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

Preview Lab → · Contrast checker → · Palette generator →

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