#573296#573296

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

Color values

HEX#573296
RGBrgb(87, 50, 150)
HSLhsl(262, 50%, 39%)
HSVhsv(262, 67%, 59%)
CMYKcmyk(42%, 66.7%, 0%, 41.2%)
CIE-LABlab(30.66, 39.35, -49.03)
CIE-LCHlch(30.66, 62.87, 308.75°)
OKLaboklab(41.94% 0.0682 -0.1399)
OKLCHoklch(41.94% 0.156 296)
XYZxyz(10.5747, 6.5092, 29.5475)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573296 #719632
analogous
#323F96 #573296 #893296
triadic
#573296 #965732 #329657
tetradic
#573296 #96323F #719632 #329689
square
#573296 #96323F #719632 #329689
split-complementary
#573296 #968932 #3F9632
monochromatic
#22133A #3C2368 #573296 #7244C1 #9572D0

Accessibility & contrast

On white

9.12
#573296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#573296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573296
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573296#FFFFFF#000000##FFFFFF
##5732961.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #573296;
/* rgb */ color: rgb(87, 50, 150);
/* oklch */ color: oklch(41.9% 0.156 296.0);
Tailwind
colors: {
  custom: {
    50: '#8c6cb6',
    500: '#573296',
    950: '#000000',
  },
}
SCSS
$custom: #573296;
$custom-light: #8c6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#573296",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 262.2,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.15566,
    "h": 296
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#573296
secondary
#9CB86C
accent
#DA4EA6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #573296

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

Preview Lab → · Contrast checker → · Palette generator →

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