#573799#573799

#573799 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.9% C 0.152 H 294.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#573799
RGBrgb(87, 55, 153)
HSLhsl(260, 47%, 41%)
HSVhsv(260, 64%, 60%)
CMYKcmyk(43.1%, 64.1%, 0%, 40%)
CIE-LABlab(31.94, 37.36, -48.79)
CIE-LCHlch(31.94, 61.45, 307.44°)
OKLaboklab(42.93% 0.0622 -0.1392)
OKLCHoklch(42.93% 0.152 294.1)
XYZxyz(11.0449, 7.0582, 30.9113)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573799 #799937
analogous
#374899 #573799 #883799
triadic
#573799 #995737 #379957
tetradic
#573799 #993748 #799937 #379988
square
#573799 #993748 #799937 #379988
split-complementary
#573799 #998837 #489937
monochromatic
#24173F #3D276C #573799 #734EBF #977BD0

Accessibility & contrast

On white

8.71
#573799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#573799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573799
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573799#FFFFFF#000000##FFFFFF
##5737991.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#454D63
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #573799;
/* rgb */ color: rgb(87, 55, 153);
/* oklch */ color: oklch(42.9% 0.152 294.1);
Tailwind
colors: {
  custom: {
    50: '#8c6fb8',
    500: '#573799',
    950: '#000000',
  },
}
SCSS
$custom: #573799;
$custom-light: #8c6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#573799",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 259.592,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.15248,
    "h": 294.1
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#573799
secondary
#A2B973
accent
#D751AB
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #573799

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

Preview Lab → · Contrast checker → · Palette generator →

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