#5C479B#5C479B

#5C479B is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.3% C 0.132 H 292.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5C479B
RGBrgb(92, 71, 155)
HSLhsl(255, 37%, 44%)
HSVhsv(255, 54%, 61%)
CMYKcmyk(40.6%, 54.2%, 0%, 39.2%)
CIE-LABlab(36.27, 29.53, -43.00)
CIE-LCHlch(36.27, 52.17, 304.48°)
OKLaboklab(46.28% 0.0492 -0.122)
OKLCHoklch(46.28% 0.132 292)
XYZxyz(12.5817, 9.1480, 32.1068)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C479B #869B47
analogous
#475C9B #5C479B #86479B
triadic
#5C479B #9B5C47 #479B5C
tetradic
#5C479B #9B475C #869B47 #479B86
square
#5C479B #9B475C #869B47 #479B86
split-complementary
#5C479B #9B8647 #5C9B47
monochromatic
#2A2147 #433471 #5C479B #7B66B9 #9F90CC

Accessibility & contrast

On white

7.42
#5C479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5C479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C479B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C479B#FFFFFF#000000##FFFFFF
##5C479B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579E
Deuteranopia (green-blind)
#255499
Tritanopia (blue-blind)
#4B586A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c479b;
/* rgb */ color: rgb(92, 71, 155);
/* oklch */ color: oklch(46.3% 0.132 292.0);
Tailwind
colors: {
  custom: {
    50: '#8e7bb9',
    500: '#5c479b',
    950: '#000000',
  },
}
SCSS
$custom: #5c479b;
$custom-light: #8e7bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c479b",
  "rgb": {
    "r": 92,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 255,
    "s": 37.168,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.1316,
    "h": 292
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#5C479B
secondary
#ABB886
accent
#CD5BB1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0D0911
muted
#7D7B80

Preview Lab

Preview with #5C479B

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

Preview Lab → · Contrast checker → · Palette generator →

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