#573199#573199

#573199 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.161 H 295.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#573199
RGBrgb(87, 49, 153)
HSLhsl(262, 51%, 40%)
HSVhsv(262, 68%, 60%)
CMYKcmyk(43.1%, 68%, 0%, 40%)
CIE-LABlab(30.69, 40.74, -50.81)
CIE-LCHlch(30.69, 65.13, 308.72°)
OKLaboklab(42.03% 0.0689 -0.1452)
OKLCHoklch(42.03% 0.161 295.4)
XYZxyz(10.7770, 6.5225, 30.8220)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573199 #739931
analogous
#313F99 #573199 #8B3199
triadic
#573199 #995731 #319957
tetradic
#573199 #99313F #739931 #31998B
square
#573199 #99313F #739931 #31998B
split-complementary
#573199 #998B31 #3F9931
monochromatic
#22133C #3D226B #573199 #7244C3 #9572D2

Accessibility & contrast

On white

9.11
#573199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #573199
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573199#FFFFFF#000000##FFFFFF
##5731991.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#454A61
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #573199;
/* rgb */ color: rgb(87, 49, 153);
/* oklch */ color: oklch(42.0% 0.161 295.4);
Tailwind
colors: {
  custom: {
    50: '#8c6cb8',
    500: '#573199',
    950: '#000000',
  },
}
SCSS
$custom: #573199;
$custom-light: #8c6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#573199",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 261.923,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42031,
    "c": 0.16069,
    "h": 295.4
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#573199
secondary
#9DBA6C
accent
#DB4DA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #573199

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

Preview Lab → · Contrast checker → · Palette generator →

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