#573176#573176

#573176 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.4% C 0.117 H 307.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#573176
RGBrgb(87, 49, 118)
HSLhsl(273, 41%, 33%)
HSVhsv(273, 58%, 46%)
CMYKcmyk(26.3%, 58.5%, 0%, 53.7%)
CIE-LABlab(28.20, 31.31, -33.09)
CIE-LCHlch(28.20, 45.55, 313.42°)
OKLaboklab(39.42% 0.0709 -0.0931)
OKLCHoklch(39.42% 0.117 307.3)
XYZxyz(8.2981, 5.5310, 17.7665)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573176 #507631
analogous
#343176 #573176 #763172
triadic
#573176 #765731 #317657
tetradic
#573176 #763431 #507631 #317276
square
#573176 #763431 #507631 #317276
split-complementary
#573176 #727631 #317634
monochromatic
#170D20 #371F4B #573176 #7743A1 #9563BE

Accessibility & contrast

On white

9.97
#573176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#573176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573176
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573176#FFFFFF#000000##FFFFFF
##5731761.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#523E4E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #573176;
/* rgb */ color: rgb(87, 49, 118);
/* oklch */ color: oklch(39.4% 0.117 307.3);
Tailwind
colors: {
  custom: {
    50: '#896b9e',
    500: '#573176',
    950: '#000000',
  },
}
SCSS
$custom: #573176;
$custom-light: #896b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#573176",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 273.043,
    "s": 41.317,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39424,
    "c": 0.11701,
    "h": 307.3
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#573176
secondary
#7EA65D
accent
#D1578E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #573176

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

Preview Lab → · Contrast checker → · Palette generator →

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