#5C488D#5C488D

#5C488D is a mid, moderate violet. Relative luminance 0.088; OKLCH L 45.5% C 0.110 H 295.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5C488D
RGBrgb(92, 72, 141)
HSLhsl(257, 32%, 42%)
HSVhsv(257, 49%, 55%)
CMYKcmyk(34.8%, 48.9%, 0%, 44.7%)
CIE-LABlab(35.66, 24.89, -35.47)
CIE-LCHlch(35.66, 43.33, 305.06°)
OKLaboklab(45.55% 0.0466 -0.1)
OKLCHoklch(45.55% 0.11 295)
XYZxyz(11.5375, 8.8329, 26.2912)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C488D #798D48
analogous
#48578D #5C488D #7F488D
triadic
#5C488D #8D5C48 #488D5C
tetradic
#5C488D #8D4857 #798D48 #488D7F
square
#5C488D #8D4857 #798D48 #488D7F
split-complementary
#5C488D #8D7F48 #578D48
monochromatic
#271F3C #423364 #5C488D #7963AF #9C8BC4

Accessibility & contrast

On white

7.59
#5C488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5C488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C488D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C488D#FFFFFF#000000##FFFFFF
##5C488D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#515564
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c488d;
/* rgb */ color: rgb(92, 72, 141);
/* oklch */ color: oklch(45.5% 0.110 295.0);
Tailwind
colors: {
  custom: {
    50: '#8d7baf',
    500: '#5c488d',
    950: '#000000',
  },
}
SCSS
$custom: #5c488d;
$custom-light: #8d7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c488d",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 257.391,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45546,
    "c": 0.11031,
    "h": 295
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#5C488D
secondary
#A2B081
accent
#C95FAA
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5C488D

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

Preview Lab → · Contrast checker → · Palette generator →

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