#573184#573184

#573184 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.135 H 301.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#573184
RGBrgb(87, 49, 132)
HSLhsl(267, 46%, 35%)
HSVhsv(267, 63%, 52%)
CMYKcmyk(34.1%, 62.9%, 0%, 48.2%)
CIE-LABlab(29.13, 34.99, -40.39)
CIE-LCHlch(29.13, 53.44, 310.90°)
OKLaboklab(40.41% 0.0709 -0.1145)
OKLCHoklch(40.41% 0.135 301.8)
XYZxyz(9.1927, 5.8888, 22.4777)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573184 #5E8431
analogous
#313484 #573184 #803184
triadic
#573184 #845731 #318457
tetradic
#573184 #843134 #5E8431 #318480
square
#573184 #843134 #5E8431 #318480
split-complementary
#573184 #848031 #348431
monochromatic
#1C102B #3A2057 #573184 #7442B1 #9468C7

Accessibility & contrast

On white

9.64
#573184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#573184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573184
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573184#FFFFFF#000000##FFFFFF
##5731841.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#174482
Tritanopia (blue-blind)
#4E4255
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #573184;
/* rgb */ color: rgb(87, 49, 132);
/* oklch */ color: oklch(40.4% 0.135 301.8);
Tailwind
colors: {
  custom: {
    50: '#8a6ba8',
    500: '#573184',
    950: '#000000',
  },
}
SCSS
$custom: #573184;
$custom-light: #8a6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#573184",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 267.47,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.13468,
    "h": 301.8
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#573184
secondary
#8CAE62
accent
#D65299
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #573184

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

Preview Lab → · Contrast checker → · Palette generator →

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