#5C526A#5C526A

#5C526A is a mid, muted violet. Relative luminance 0.094; OKLCH L 45.7% C 0.040 H 303.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5C526A
RGBrgb(92, 82, 106)
HSLhsl(265, 13%, 37%)
HSVhsv(265, 23%, 42%)
CMYKcmyk(13.2%, 22.6%, 0%, 58.4%)
CIE-LABlab(36.65, 9.35, -12.31)
CIE-LCHlch(36.65, 15.46, 307.23°)
OKLaboklab(45.75% 0.0224 -0.0335)
OKLCHoklch(45.75% 0.04 303.8)
XYZxyz(10.0319, 9.3505, 14.9092)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C526A #606A52
analogous
#52546A #5C526A #68526A
triadic
#5C526A #6A5C52 #526A5C
tetradic
#5C526A #6A5254 #606A52 #526A68
square
#5C526A #6A5254 #606A52 #526A68
split-complementary
#5C526A #6A6852 #546A52
monochromatic
#201D25 #3E3747 #5C526A #7A6D8D #998EA8

Accessibility & contrast

On white

7.32
#5C526A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5C526A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C526A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C526A#FFFFFF#000000##FFFFFF
##5C526A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E566B
Deuteranopia (green-blind)
#4F5669
Tritanopia (blue-blind)
#5A555A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c526a;
/* rgb */ color: rgb(92, 82, 106);
/* oklch */ color: oklch(45.7% 0.040 303.8);
Tailwind
colors: {
  custom: {
    50: '#8a8294',
    500: '#5c526a',
    950: '#000000',
  },
}
SCSS
$custom: #5c526a;
$custom-light: #8a8294;
$custom-dark: #000000;
JSON
{
  "hex": "#5c526a",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 106
  },
  "hsl": {
    "h": 265,
    "s": 12.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.04029,
    "h": 303.8
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#5C526A
secondary
#8E9682
accent
#B6729A
background
#F8F7F9
surface
#F0EEF1
border
#CBC9CB
text
#0B0A0D
muted
#7C7C7E

Preview Lab

Preview with #5C526A

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

Preview Lab → · Contrast checker → · Palette generator →

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