#573197#573197

#573197 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.158 H 295.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#573197
RGBrgb(87, 49, 151)
HSLhsl(262, 51%, 39%)
HSVhsv(262, 68%, 59%)
CMYKcmyk(42.4%, 67.5%, 0%, 40.8%)
CIE-LABlab(30.54, 40.18, -49.85)
CIE-LCHlch(30.54, 64.02, 308.87°)
OKLaboklab(41.87% 0.0692 -0.1423)
OKLCHoklch(41.87% 0.158 295.9)
XYZxyz(10.6132, 6.4570, 29.9593)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573197 #719731
analogous
#313E97 #573197 #8A3197
triadic
#573197 #975731 #319757
tetradic
#573197 #97313E #719731 #31978A
square
#573197 #97313E #719731 #31978A
split-complementary
#573197 #978A31 #3E9731
monochromatic
#22133B #3C2269 #573197 #7243C2 #9571D1

Accessibility & contrast

On white

9.16
#573197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#573197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573197
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573197#FFFFFF#000000##FFFFFF
##5731971.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#464960
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #573197;
/* rgb */ color: rgb(87, 49, 151);
/* oklch */ color: oklch(41.9% 0.158 295.9);
Tailwind
colors: {
  custom: {
    50: '#8c6cb6',
    500: '#573197',
    950: '#000000',
  },
}
SCSS
$custom: #573197;
$custom-light: #8c6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#573197",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 262.353,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41869,
    "c": 0.15825,
    "h": 295.9
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#573197
secondary
#9CB96B
accent
#DA4DA6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #573197

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

Preview Lab → · Contrast checker → · Palette generator →

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