#573BB1#573BB1

#573BB1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.177 H 288.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#573BB1
RGBrgb(87, 59, 177)
HSLhsl(254, 50%, 46%)
HSVhsv(254, 67%, 69%)
CMYKcmyk(50.8%, 66.7%, 0%, 30.6%)
CIE-LABlab(34.66, 42.06, -58.81)
CIE-LCHlch(34.66, 72.30, 305.57°)
OKLaboklab(45.48% 0.0552 -0.1687)
OKLCHoklch(45.48% 0.177 288.1)
XYZxyz(13.4279, 8.3279, 42.4864)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573BB1 #95B13B
analogous
#3B5AB1 #573BB1 #923BB1
triadic
#573BB1 #B1573B #3BB157
tetradic
#573BB1 #B13B5A #95B13B #3BB192
square
#573BB1 #B13B5A #95B13B #3BB192
split-complementary
#573BB1 #B1923B #5AB13B
monochromatic
#2A1C55 #402C83 #573BB1 #795FCA #9F8DD9

Accessibility & contrast

On white

7.88
#573BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#573BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573BB1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573BB1#FFFFFF#000000##FFFFFF
##573BB11.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#375871
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #573bb1;
/* rgb */ color: rgb(87, 59, 177);
/* oklch */ color: oklch(45.5% 0.177 288.1);
Tailwind
colors: {
  custom: {
    50: '#8e73c9',
    500: '#573bb1',
    950: '#000000',
  },
}
SCSS
$custom: #573bb1;
$custom-light: #8e73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#573bb1",
  "rgb": {
    "r": 87,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 254.237,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45482,
    "c": 0.17749,
    "h": 288.1
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#573BB1
secondary
#B5C484
accent
#DA4EB8
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #573BB1

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

Preview Lab → · Contrast checker → · Palette generator →

#573BB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva