#573191#573191

#573191 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.151 H 297.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#573191
RGBrgb(87, 49, 145)
HSLhsl(264, 49%, 38%)
HSVhsv(264, 66%, 57%)
CMYKcmyk(40%, 66.2%, 0%, 43.1%)
CIE-LABlab(30.08, 38.52, -46.92)
CIE-LCHlch(30.08, 60.70, 309.39°)
OKLaboklab(41.39% 0.0699 -0.1337)
OKLCHoklch(41.39% 0.151 297.6)
XYZxyz(10.1383, 6.2670, 27.4581)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573191 #6B9131
analogous
#313B91 #573191 #873191
triadic
#573191 #915731 #319157
tetradic
#573191 #91313B #6B9131 #319187
square
#573191 #91313B #6B9131 #319187
split-complementary
#573191 #918731 #3B9131
monochromatic
#201236 #3C2263 #573191 #7241BF #946ECE

Accessibility & contrast

On white

9.32
#573191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#573191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573191
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573191#FFFFFF#000000##FFFFFF
##5731911.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#49475C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #573191;
/* rgb */ color: rgb(87, 49, 145);
/* oklch */ color: oklch(41.4% 0.151 297.6);
Tailwind
colors: {
  custom: {
    50: '#8b6bb2',
    500: '#573191',
    950: '#000000',
  },
}
SCSS
$custom: #573191;
$custom-light: #8b6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#573191",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 263.75,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41392,
    "c": 0.15087,
    "h": 297.6
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#573191
secondary
#97B668
accent
#D94FA2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #573191

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

Preview Lab → · Contrast checker → · Palette generator →

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