#573186#573186

#573186 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.137 H 301.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#573186
RGBrgb(87, 49, 134)
HSLhsl(267, 46%, 36%)
HSVhsv(267, 63%, 53%)
CMYKcmyk(35.1%, 63.4%, 0%, 47.5%)
CIE-LABlab(29.27, 35.52, -41.41)
CIE-LCHlch(29.27, 54.56, 310.62°)
OKLaboklab(40.55% 0.0708 -0.1175)
OKLCHoklch(40.55% 0.137 301.1)
XYZxyz(9.3308, 5.9440, 23.2054)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573186 #608631
analogous
#313586 #573186 #813186
triadic
#573186 #865731 #318657
tetradic
#573186 #863135 #608631 #318681
square
#573186 #863135 #608631 #318681
split-complementary
#573186 #868131 #358631
monochromatic
#1D102C #3A2159 #573186 #7441B3 #9469C8

Accessibility & contrast

On white

9.59
#573186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#573186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573186
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573186#FFFFFF#000000##FFFFFF
##5731861.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#144484
Tritanopia (blue-blind)
#4D4356
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #573186;
/* rgb */ color: rgb(87, 49, 134);
/* oklch */ color: oklch(40.6% 0.137 301.1);
Tailwind
colors: {
  custom: {
    50: '#8a6baa',
    500: '#573186',
    950: '#000000',
  },
}
SCSS
$custom: #573186;
$custom-light: #8a6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#573186",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 266.824,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40553,
    "c": 0.13718,
    "h": 301.1
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#573186
secondary
#8DB063
accent
#D6529B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #573186

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

Preview Lab → · Contrast checker → · Palette generator →

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