#573099#573099

#573099 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.162 H 295.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#573099
RGBrgb(87, 48, 153)
HSLhsl(262, 52%, 39%)
HSVhsv(262, 69%, 60%)
CMYKcmyk(43.1%, 68.6%, 0%, 40%)
CIE-LABlab(30.50, 41.28, -51.13)
CIE-LCHlch(30.50, 65.72, 308.91°)
OKLaboklab(41.89% 0.07 -0.1461)
OKLCHoklch(41.89% 0.162 295.6)
XYZxyz(10.7357, 6.4398, 30.8082)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573099 #729930
analogous
#303D99 #573099 #8C3099
triadic
#573099 #995730 #309957
tetradic
#573099 #99303D #729930 #30998C
square
#573099 #99303D #729930 #30998C
split-complementary
#573099 #998C30 #3D9930
monochromatic
#22133C #3D216A #573099 #7242C4 #9571D2

Accessibility & contrast

On white

9.18
#573099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #573099
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573099#FFFFFF#000000##FFFFFF
##5730991.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #573099;
/* rgb */ color: rgb(87, 48, 153);
/* oklch */ color: oklch(41.9% 0.162 295.6);
Tailwind
colors: {
  custom: {
    50: '#8c6bb8',
    500: '#573099',
    950: '#000000',
  },
}
SCSS
$custom: #573099;
$custom-light: #8c6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#573099",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 262.286,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.16201,
    "h": 295.6
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#573099
secondary
#9DBA6B
accent
#DC4CA6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #573099

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

Preview Lab → · Contrast checker → · Palette generator →

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