#573AB5#573AB5

#573AB5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.184 H 287.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#573AB5
RGBrgb(87, 58, 181)
HSLhsl(254, 51%, 47%)
HSVhsv(254, 68%, 71%)
CMYKcmyk(51.9%, 68%, 0%, 29%)
CIE-LABlab(34.78, 43.81, -60.98)
CIE-LCHlch(34.78, 75.09, 305.69°)
OKLaboklab(45.67% 0.0556 -0.1751)
OKLCHoklch(45.67% 0.184 287.6)
XYZxyz(13.7816, 8.3879, 44.6000)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573AB5 #98B53A
analogous
#3A5BB5 #573AB5 #943AB5
triadic
#573AB5 #B5573A #3AB557
tetradic
#573AB5 #B53A5B #98B53A #3AB594
square
#573AB5 #B53A5B #98B53A #3AB594
split-complementary
#573AB5 #B5943A #5BB53A
monochromatic
#2A1C58 #412B87 #573AB5 #7A60CC #A08EDB

Accessibility & contrast

On white

7.84
#573AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#573AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573AB5
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573AB5#FFFFFF#000000##FFFFFF
##573AB51.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#345973
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #573ab5;
/* rgb */ color: rgb(87, 58, 181);
/* oklch */ color: oklch(45.7% 0.184 287.6);
Tailwind
colors: {
  custom: {
    50: '#8f72cc',
    500: '#573ab5',
    950: '#000000',
  },
}
SCSS
$custom: #573ab5;
$custom-light: #8f72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#573ab5",
  "rgb": {
    "r": 87,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 254.146,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.18369,
    "h": 287.6
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#573AB5
secondary
#B6C685
accent
#DB4DB9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #573AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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