#5A4664#5A4664

#5A4664 is a dark, muted purple. Relative luminance 0.075; OKLCH L 42.7% C 0.055 H 314.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5A4664
RGBrgb(90, 70, 100)
HSLhsl(280, 18%, 33%)
HSVhsv(280, 30%, 39%)
CMYKcmyk(10%, 30%, 0%, 60.8%)
CIE-LABlab(32.86, 14.78, -14.33)
CIE-LCHlch(32.86, 20.58, 315.87°)
OKLaboklab(42.7% 0.038 -0.0391)
OKLCHoklch(42.7% 0.055 314.2)
XYZxyz(8.7065, 7.4742, 13.0381)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4664 #506446
analogous
#4B4664 #5A4664 #64465F
triadic
#5A4664 #645A46 #46645A
tetradic
#5A4664 #644B46 #506446 #465F64
square
#5A4664 #644B46 #506446 #465F64
split-complementary
#5A4664 #5F6446 #46644B
monochromatic
#19141C #3A2D40 #5A4664 #7A5F88 #997FA5

Accessibility & contrast

On white

8.42
#5A4664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5A4664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4664
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4664#FFFFFF#000000##FFFFFF
##5A46641.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424C65
Deuteranopia (green-blind)
#464E63
Tritanopia (blue-blind)
#594A51
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5a4664;
/* rgb */ color: rgb(90, 70, 100);
/* oklch */ color: oklch(42.7% 0.055 314.2);
Tailwind
colors: {
  custom: {
    50: '#897990',
    500: '#5a4664',
    950: '#000000',
  },
}
SCSS
$custom: #5a4664;
$custom-light: #897990;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4664",
  "rgb": {
    "r": 90,
    "g": 70,
    "b": 100
  },
  "hsl": {
    "h": 280,
    "s": 17.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42703,
    "c": 0.05451,
    "h": 314.2
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#5A4664
secondary
#7E9274
accent
#BA6D87
background
#F8F7F8
surface
#F0EDF0
border
#CBC8CB
text
#0B090C
muted
#7C7B7D

Preview Lab

Preview with #5A4664

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

Preview Lab → · Contrast checker → · Palette generator →

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