#573178#573178

#573178 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.6% C 0.120 H 306.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#573178
RGBrgb(87, 49, 120)
HSLhsl(272, 42%, 33%)
HSVhsv(272, 59%, 47%)
CMYKcmyk(27.5%, 59.2%, 0%, 52.9%)
CIE-LABlab(28.32, 31.82, -34.15)
CIE-LCHlch(28.32, 46.68, 312.98°)
OKLaboklab(39.56% 0.071 -0.0962)
OKLCHoklch(39.56% 0.12 306.4)
XYZxyz(8.4182, 5.5790, 18.3990)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573178 #527831
analogous
#333178 #573178 #783175
triadic
#573178 #785731 #317857
tetradic
#573178 #783331 #527831 #317578
square
#573178 #783331 #527831 #317578
split-complementary
#573178 #757831 #317833
monochromatic
#180E21 #371F4D #573178 #7743A3 #9564C0

Accessibility & contrast

On white

9.93
#573178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#573178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573178
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573178#FFFFFF#000000##FFFFFF
##5731781.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427A
Deuteranopia (green-blind)
#254376
Tritanopia (blue-blind)
#523E4F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #573178;
/* rgb */ color: rgb(87, 49, 120);
/* oklch */ color: oklch(39.6% 0.120 306.4);
Tailwind
colors: {
  custom: {
    50: '#896b9f',
    500: '#573178',
    950: '#000000',
  },
}
SCSS
$custom: #573178;
$custom-light: #896b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#573178",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 272.113,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.11954,
    "h": 306.4
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#573178
secondary
#80A75E
accent
#D25690
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #573178

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

Preview Lab → · Contrast checker → · Palette generator →

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