#5C4297#5C4297

#5C4297 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.1% C 0.134 H 294.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5C4297
RGBrgb(92, 66, 151)
HSLhsl(258, 39%, 43%)
HSVhsv(258, 56%, 59%)
CMYKcmyk(39.1%, 56.3%, 0%, 40.8%)
CIE-LABlab(34.81, 31.43, -42.91)
CIE-LCHlch(34.81, 53.19, 306.22°)
OKLaboklab(45.12% 0.0556 -0.1218)
OKLCHoklch(45.12% 0.134 294.5)
XYZxyz(11.9463, 8.4059, 30.2652)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4297 #7D9742
analogous
#425297 #5C4297 #874297
triadic
#5C4297 #975C42 #42975C
tetradic
#5C4297 #974252 #7D9742 #429787
square
#5C4297 #974252 #7D9742 #429787
split-complementary
#5C4297 #978742 #529742
monochromatic
#281D42 #422F6C #5C4297 #795EB8 #9D88CB

Accessibility & contrast

On white

7.83
#5C4297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5C4297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4297
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4297#FFFFFF#000000##FFFFFF
##5C42971.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#225195
Tritanopia (blue-blind)
#4D5466
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c4297;
/* rgb */ color: rgb(92, 66, 151);
/* oklch */ color: oklch(45.1% 0.134 294.5);
Tailwind
colors: {
  custom: {
    50: '#8e77b6',
    500: '#5c4297',
    950: '#000000',
  },
}
SCSS
$custom: #5c4297;
$custom-light: #8e77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4297",
  "rgb": {
    "r": 92,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 258.353,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.13386,
    "h": 294.5
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#5C4297
secondary
#A5B67F
accent
#CF59AB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0D0911
muted
#7D7B80

Preview Lab

Preview with #5C4297

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

Preview Lab → · Contrast checker → · Palette generator →

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