#5A4E6A#5A4E6A

#5A4E6A is a dark, muted violet. Relative luminance 0.087; OKLCH L 44.7% C 0.047 H 304.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5A4E6A
RGBrgb(90, 78, 106)
HSLhsl(266, 15%, 36%)
HSVhsv(266, 26%, 42%)
CMYKcmyk(15.1%, 26.4%, 0%, 58.4%)
CIE-LABlab(35.33, 11.14, -14.34)
CIE-LCHlch(35.33, 18.16, 307.84°)
OKLaboklab(44.68% 0.0265 -0.0392)
OKLCHoklch(44.68% 0.047 304.1)
XYZxyz(9.5419, 8.6631, 14.8023)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E6A #5E6A4E
analogous
#4E506A #5A4E6A #684E6A
triadic
#5A4E6A #6A5A4E #4E6A5A
tetradic
#5A4E6A #6A4E50 #5E6A4E #4E6A68
square
#5A4E6A #6A4E50 #5E6A4E #4E6A68
split-complementary
#5A4E6A #6A684E #506A4E
monochromatic
#1E1A23 #3C3447 #5A4E6A #78688D #978AA9

Accessibility & contrast

On white

7.68
#5A4E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5A4E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E6A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E6A#FFFFFF#000000##FFFFFF
##5A4E6A1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49536B
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#585258
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a4e6a;
/* rgb */ color: rgb(90, 78, 106);
/* oklch */ color: oklch(44.7% 0.047 304.1);
Tailwind
colors: {
  custom: {
    50: '#897f94',
    500: '#5a4e6a',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e6a;
$custom-light: #897f94;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e6a",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 106
  },
  "hsl": {
    "h": 265.714,
    "s": 15.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44678,
    "c": 0.04732,
    "h": 304.1
  },
  "luminance": 0.08663
}

Semantic roles & 50–950 ramp

primary
#5A4E6A
secondary
#8C967D
accent
#B87099
background
#F8F7F9
surface
#F0EEF1
border
#CBC9CB
text
#0B0A0D
muted
#7C7C7E

Preview Lab

Preview with #5A4E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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