#573291#573291

#573291 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.149 H 297.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#573291
RGBrgb(87, 50, 145)
HSLhsl(263, 49%, 38%)
HSVhsv(263, 66%, 57%)
CMYKcmyk(40%, 65.5%, 0%, 43.1%)
CIE-LABlab(30.28, 37.96, -46.58)
CIE-LCHlch(30.28, 60.09, 309.18°)
OKLaboklab(41.54% 0.0687 -0.1327)
OKLCHoklch(41.54% 0.149 297.4)
XYZxyz(10.1806, 6.3516, 27.4722)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573291 #6C9132
analogous
#323D91 #573291 #863291
triadic
#573291 #915732 #329157
tetradic
#573291 #91323D #6C9132 #329186
square
#573291 #91323D #6C9132 #329186
split-complementary
#573291 #918632 #3D9132
monochromatic
#201336 #3C2263 #573291 #7242BE #9470CE

Accessibility & contrast

On white

9.25
#573291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#573291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573291
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573291#FFFFFF#000000##FFFFFF
##5732911.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#49485D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #573291;
/* rgb */ color: rgb(87, 50, 145);
/* oklch */ color: oklch(41.5% 0.149 297.4);
Tailwind
colors: {
  custom: {
    50: '#8b6cb2',
    500: '#573291',
    950: '#000000',
  },
}
SCSS
$custom: #573291;
$custom-light: #8b6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#573291",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 263.368,
    "s": 48.718,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41541,
    "c": 0.14946,
    "h": 297.4
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#573291
secondary
#98B569
accent
#D850A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #573291

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

Preview Lab → · Contrast checker → · Palette generator →

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