#5A446C#5A446C

#5A446C is a dark, moderate violet. Relative luminance 0.074; OKLCH L 42.7% C 0.070 H 308.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5A446C
RGBrgb(90, 68, 108)
HSLhsl(273, 23%, 35%)
HSVhsv(273, 37%, 42%)
CMYKcmyk(16.7%, 37%, 0%, 57.6%)
CIE-LABlab(32.68, 17.98, -19.68)
CIE-LCHlch(32.68, 26.66, 312.42°)
OKLaboklab(42.68% 0.0437 -0.0542)
OKLCHoklch(42.68% 0.07 308.9)
XYZxyz(8.9898, 7.3907, 15.1374)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A446C #566C44
analogous
#46446C #5A446C #6C446A
triadic
#5A446C #6C5A44 #446C5A
tetradic
#5A446C #6C4644 #566C44 #446A6C
square
#5A446C #6C4644 #566C44 #446A6C
split-complementary
#5A446C #6A6C44 #446C46
monochromatic
#1B1521 #3B2C46 #5A446C #795C92 #987DAD

Accessibility & contrast

On white

8.47
#5A446C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5A446C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A446C
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A446C#FFFFFF#000000##FFFFFF
##5A446C1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C6E
Deuteranopia (green-blind)
#414D6B
Tritanopia (blue-blind)
#584A53
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5a446c;
/* rgb */ color: rgb(90, 68, 108);
/* oklch */ color: oklch(42.7% 0.070 308.9);
Tailwind
colors: {
  custom: {
    50: '#897896',
    500: '#5a446c',
    950: '#000000',
  },
}
SCSS
$custom: #5a446c;
$custom-light: #897896;
$custom-dark: #000000;
JSON
{
  "hex": "#5a446c",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 108
  },
  "hsl": {
    "h": 273,
    "s": 22.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4268,
    "c": 0.06969,
    "h": 308.9
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#5A446C
secondary
#849973
accent
#BF6990
background
#F8F7F9
surface
#F0EDF2
border
#CBC8CC
text
#0B090D
muted
#7C7B7E

Preview Lab

Preview with #5A446C

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

Preview Lab → · Contrast checker → · Palette generator →

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