#573797#573797

#573797 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.150 H 294.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#573797
RGBrgb(87, 55, 151)
HSLhsl(260, 47%, 40%)
HSVhsv(260, 64%, 59%)
CMYKcmyk(42.4%, 63.6%, 0%, 40.8%)
CIE-LABlab(31.79, 36.79, -47.82)
CIE-LCHlch(31.79, 60.33, 307.57°)
OKLaboklab(42.78% 0.0623 -0.1363)
OKLCHoklch(42.78% 0.15 294.6)
XYZxyz(10.8811, 6.9927, 30.0486)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573797 #779737
analogous
#374797 #573797 #873797
triadic
#573797 #975737 #379757
tetradic
#573797 #973747 #779737 #379787
square
#573797 #973747 #779737 #379787
split-complementary
#573797 #978737 #479737
monochromatic
#23163D #3D276A #573797 #734DBE #967ACF

Accessibility & contrast

On white

8.76
#573797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#573797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573797
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573797#FFFFFF#000000##FFFFFF
##5737971.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#464D62
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #573797;
/* rgb */ color: rgb(87, 55, 151);
/* oklch */ color: oklch(42.8% 0.150 294.6);
Tailwind
colors: {
  custom: {
    50: '#8b6fb6',
    500: '#573797',
    950: '#000000',
  },
}
SCSS
$custom: #573797;
$custom-light: #8b6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#573797",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 260,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42775,
    "c": 0.14992,
    "h": 294.6
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#573797
secondary
#A0B872
accent
#D652AA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #573797

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

Preview Lab → · Contrast checker → · Palette generator →

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