#5C5262#5C5262

#5C5262 is a mid, muted violet. Relative luminance 0.092; OKLCH L 45.4% C 0.029 H 312.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5C5262
RGBrgb(92, 82, 98)
HSLhsl(278, 9%, 35%)
HSVhsv(278, 16%, 38%)
CMYKcmyk(6.1%, 16.3%, 0%, 61.6%)
CIE-LABlab(36.35, 7.49, -7.76)
CIE-LCHlch(36.35, 10.79, 313.96°)
OKLaboklab(45.42% 0.0194 -0.0209)
OKLCHoklch(45.42% 0.029 312.9)
XYZxyz(9.6352, 9.1918, 12.8195)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5262 #586252
analogous
#545262 #5C5262 #625260
triadic
#5C5262 #625C52 #52625C
tetradic
#5C5262 #625452 #586252 #526062
square
#5C5262 #625452 #586252 #526062
split-complementary
#5C5262 #606252 #526254
monochromatic
#1D1A1F #3D3641 #5C5262 #7B6E83 #9A8EA0

Accessibility & contrast

On white

7.40
#5C5262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5C5262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5262
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5262#FFFFFF#000000##FFFFFF
##5C52621.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505563
Deuteranopia (green-blind)
#525661
Tritanopia (blue-blind)
#5C5457
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c5262;
/* rgb */ color: rgb(92, 82, 98);
/* oklch */ color: oklch(45.4% 0.029 312.9);
Tailwind
colors: {
  custom: {
    50: '#8a828e',
    500: '#5c5262',
    950: '#000000',
  },
}
SCSS
$custom: #5c5262;
$custom-light: #8a828e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5262",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 277.5,
    "s": 8.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45415,
    "c": 0.0285,
    "h": 312.9
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#5C5262
secondary
#868F80
accent
#B2768C
background
#F8F7F8
surface
#F0EEF0
border
#CBC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #5C5262

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

Preview Lab → · Contrast checker → · Palette generator →

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