#573166#573166

#573166 is a dark, moderate purple. Relative luminance 0.052; OKLCH L 38.4% C 0.097 H 315.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#573166
RGBrgb(87, 49, 102)
HSLhsl(283, 35%, 30%)
HSVhsv(283, 52%, 40%)
CMYKcmyk(14.7%, 52%, 0%, 60%)
CIE-LABlab(27.25, 27.34, -24.36)
CIE-LCHlch(27.25, 36.62, 318.30°)
OKLaboklab(38.42% 0.0694 -0.0677)
OKLCHoklch(38.42% 0.097 315.7)
XYZxyz(7.4267, 5.1824, 13.1769)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573166 #406631
analogous
#3D3166 #573166 #66315B
triadic
#573166 #665731 #316657
tetradic
#573166 #663D31 #406631 #315B66
square
#573166 #663D31 #406631 #315B66
split-complementary
#573166 #5B6631 #31663D
monochromatic
#120A15 #341D3D #573166 #7A458F #9B5FB2

Accessibility & contrast

On white

10.31
#573166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#573166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573166
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573166#FFFFFF#000000##FFFFFF
##5731661.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263E68
Deuteranopia (green-blind)
#314165
Tritanopia (blue-blind)
#563946
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #573166;
/* rgb */ color: rgb(87, 49, 102);
/* oklch */ color: oklch(38.4% 0.097 315.7);
Tailwind
colors: {
  custom: {
    50: '#886a92',
    500: '#573166',
    950: '#000000',
  },
}
SCSS
$custom: #573166;
$custom-light: #886a92;
$custom-dark: #000000;
JSON
{
  "hex": "#573166",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 283.019,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.09693,
    "h": 315.7
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#573166
secondary
#6C975C
accent
#CB5D7C
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #573166

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

Preview Lab → · Contrast checker → · Palette generator →

#573166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva