#573196#573196

#573196 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.157 H 296.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#573196
RGBrgb(87, 49, 150)
HSLhsl(263, 51%, 39%)
HSVhsv(263, 67%, 59%)
CMYKcmyk(42%, 67.3%, 0%, 41.2%)
CIE-LABlab(30.46, 39.90, -49.36)
CIE-LCHlch(30.46, 63.47, 308.95°)
OKLaboklab(41.79% 0.0693 -0.1409)
OKLCHoklch(41.79% 0.157 296.2)
XYZxyz(10.5324, 6.4247, 29.5334)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573196 #709631
analogous
#313E96 #573196 #8A3196
triadic
#573196 #965731 #319657
tetradic
#573196 #96313E #709631 #31968A
square
#573196 #96313E #709631 #31968A
split-complementary
#573196 #968A31 #3E9631
monochromatic
#21133A #3C2268 #573196 #7243C1 #9571D1

Accessibility & contrast

On white

9.19
#573196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #573196
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573196#FFFFFF#000000##FFFFFF
##5731961.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#47495F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #573196;
/* rgb */ color: rgb(87, 49, 150);
/* oklch */ color: oklch(41.8% 0.157 296.2);
Tailwind
colors: {
  custom: {
    50: '#8c6cb6',
    500: '#573196',
    950: '#000000',
  },
}
SCSS
$custom: #573196;
$custom-light: #8c6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#573196",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 262.574,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41789,
    "c": 0.15702,
    "h": 296.2
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

primary
#573196
secondary
#9BB86A
accent
#DA4EA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #573196

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

Preview Lab → · Contrast checker → · Palette generator →

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