#573287#573287

#573287 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.137 H 300.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#573287
RGBrgb(87, 50, 135)
HSLhsl(266, 46%, 36%)
HSVhsv(266, 63%, 53%)
CMYKcmyk(35.6%, 63%, 0%, 47.1%)
CIE-LABlab(29.55, 35.22, -41.58)
CIE-LCHlch(29.55, 54.49, 310.27°)
OKLaboklab(40.78% 0.0695 -0.118)
OKLCHoklch(40.78% 0.137 300.5)
XYZxyz(9.4432, 6.0566, 23.5885)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573287 #628732
analogous
#323887 #573287 #823287
triadic
#573287 #875732 #328757
tetradic
#573287 #873238 #628732 #328782
square
#573287 #873238 #628732 #328782
split-complementary
#573287 #878232 #388732
monochromatic
#1D112E #3A215A #573287 #7443B4 #946BC8

Accessibility & contrast

On white

9.50
#573287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#573287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573287
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573287#FFFFFF#000000##FFFFFF
##5732871.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#144585
Tritanopia (blue-blind)
#4D4457
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #573287;
/* rgb */ color: rgb(87, 50, 135);
/* oklch */ color: oklch(40.8% 0.137 300.5);
Tailwind
colors: {
  custom: {
    50: '#8a6caa',
    500: '#573287',
    950: '#000000',
  },
}
SCSS
$custom: #573287;
$custom-light: #8a6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#573287",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 266.118,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40782,
    "c": 0.13692,
    "h": 300.5
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#573287
secondary
#8FB065
accent
#D6529C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #573287

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

Preview Lab → · Contrast checker → · Palette generator →

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