#573188#573188

#573188 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.140 H 300.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#573188
RGBrgb(87, 49, 136)
HSLhsl(266, 47%, 36%)
HSVhsv(266, 64%, 53%)
CMYKcmyk(36%, 64%, 0%, 46.7%)
CIE-LABlab(29.41, 36.06, -42.42)
CIE-LCHlch(29.41, 55.68, 310.37°)
OKLaboklab(40.7% 0.0707 -0.1205)
OKLCHoklch(40.7% 0.14 300.4)
XYZxyz(9.4717, 6.0004, 23.9470)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573188 #628831
analogous
#313788 #573188 #833188
triadic
#573188 #885731 #318857
tetradic
#573188 #883137 #628831 #318883
square
#573188 #883137 #628831 #318883
split-complementary
#573188 #888331 #378831
monochromatic
#1D112E #3A215B #573188 #7441B5 #946AC9

Accessibility & contrast

On white

9.55
#573188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#573188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573188
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573188#FFFFFF#000000##FFFFFF
##5731881.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#104586
Tritanopia (blue-blind)
#4D4458
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #573188;
/* rgb */ color: rgb(87, 49, 136);
/* oklch */ color: oklch(40.7% 0.140 300.4);
Tailwind
colors: {
  custom: {
    50: '#8a6bab',
    500: '#573188',
    950: '#000000',
  },
}
SCSS
$custom: #573188;
$custom-light: #8a6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#573188",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 266.207,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.13969,
    "h": 300.4
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#573188
secondary
#8FB164
accent
#D7519C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #573188

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

Preview Lab → · Contrast checker → · Palette generator →

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