#573299#573299

#573299 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.159 H 295.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#573299
RGBrgb(87, 50, 153)
HSLhsl(262, 51%, 40%)
HSVhsv(262, 67%, 60%)
CMYKcmyk(43.1%, 67.3%, 0%, 40%)
CIE-LABlab(30.90, 40.19, -50.49)
CIE-LCHlch(30.90, 64.53, 308.52°)
OKLaboklab(42.18% 0.0678 -0.1442)
OKLCHoklch(42.18% 0.159 295.2)
XYZxyz(10.8193, 6.6071, 30.8361)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573299 #749932
analogous
#324199 #573299 #8A3299
triadic
#573299 #995732 #329957
tetradic
#573299 #993241 #749932 #32998A
square
#573299 #993241 #749932 #32998A
split-complementary
#573299 #998A32 #419932
monochromatic
#23143D #3D236B #573299 #7346C2 #9674D2

Accessibility & contrast

On white

9.05
#573299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#573299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573299
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573299#FFFFFF#000000##FFFFFF
##5732991.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#454A61
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #573299;
/* rgb */ color: rgb(87, 50, 153);
/* oklch */ color: oklch(42.2% 0.159 295.2);
Tailwind
colors: {
  custom: {
    50: '#8c6cb8',
    500: '#573299',
    950: '#000000',
  },
}
SCSS
$custom: #573299;
$custom-light: #8c6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#573299",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 261.553,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.15936,
    "h": 295.2
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#573299
secondary
#9EBA6D
accent
#DA4EA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #573299

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

Preview Lab → · Contrast checker → · Palette generator →

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