#573289#573289

#573289 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.139 H 299.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#573289
RGBrgb(87, 50, 137)
HSLhsl(266, 47%, 37%)
HSVhsv(266, 64%, 54%)
CMYKcmyk(36.5%, 63.5%, 0%, 46.3%)
CIE-LABlab(29.70, 35.76, -42.59)
CIE-LCHlch(29.70, 55.61, 310.02°)
OKLaboklab(40.93% 0.0694 -0.121)
OKLCHoklch(40.93% 0.139 299.8)
XYZxyz(9.5853, 6.1135, 24.3371)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573289 #648932
analogous
#323989 #573289 #833289
triadic
#573289 #895732 #328957
tetradic
#573289 #893239 #648932 #328983
square
#573289 #893239 #648932 #328983
split-complementary
#573289 #898332 #398932
monochromatic
#1E112F #3B225C #573289 #7342B6 #946CC9

Accessibility & contrast

On white

9.45
#573289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#573289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573289
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573289#FFFFFF#000000##FFFFFF
##5732891.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#114587
Tritanopia (blue-blind)
#4C4558
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #573289;
/* rgb */ color: rgb(87, 50, 137);
/* oklch */ color: oklch(40.9% 0.139 299.8);
Tailwind
colors: {
  custom: {
    50: '#8a6cac',
    500: '#573289',
    950: '#000000',
  },
}
SCSS
$custom: #573289;
$custom-light: #8a6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#573289",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 265.517,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4093,
    "c": 0.13945,
    "h": 299.8
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#573289
secondary
#91B166
accent
#D6529E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #573289

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

Preview Lab → · Contrast checker → · Palette generator →

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