#573279#573279

#573279 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.8% C 0.119 H 305.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#573279
RGBrgb(87, 50, 121)
HSLhsl(271, 42%, 34%)
HSVhsv(271, 59%, 47%)
CMYKcmyk(28.1%, 58.7%, 0%, 52.5%)
CIE-LABlab(28.61, 31.49, -34.32)
CIE-LCHlch(28.61, 46.58, 312.54°)
OKLaboklab(39.79% 0.0696 -0.0967)
OKLCHoklch(39.79% 0.119 305.7)
XYZxyz(8.5215, 5.6880, 18.7344)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573279 #547932
analogous
#343279 #573279 #793277
triadic
#573279 #795732 #327957
tetradic
#573279 #793432 #547932 #327779
square
#573279 #793432 #547932 #327779
split-complementary
#573279 #777932 #327934
monochromatic
#190E22 #38204E #573279 #7644A4 #9566C0

Accessibility & contrast

On white

9.82
#573279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#573279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573279
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573279#FFFFFF#000000##FFFFFF
##5732791.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#254477
Tritanopia (blue-blind)
#513F50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #573279;
/* rgb */ color: rgb(87, 50, 121);
/* oklch */ color: oklch(39.8% 0.119 305.7);
Tailwind
colors: {
  custom: {
    50: '#896ba0',
    500: '#573279',
    950: '#000000',
  },
}
SCSS
$custom: #573279;
$custom-light: #896ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#573279",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 271.268,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3979,
    "c": 0.11914,
    "h": 305.7
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#573279
secondary
#82A75F
accent
#D15691
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #573279

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

Preview Lab → · Contrast checker → · Palette generator →

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