#573271#573271

#573271 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.3% C 0.109 H 309.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#573271
RGBrgb(87, 50, 113)
HSLhsl(275, 39%, 32%)
HSVhsv(275, 56%, 44%)
CMYKcmyk(23%, 55.8%, 0%, 55.7%)
CIE-LABlab(28.11, 29.44, -30.04)
CIE-LCHlch(28.11, 42.07, 314.42°)
OKLaboklab(39.26% 0.0691 -0.0842)
OKLCHoklch(39.26% 0.109 309.4)
XYZxyz(8.0511, 5.4998, 16.2570)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573271 #4C7132
analogous
#383271 #573271 #71326C
triadic
#573271 #715732 #327157
tetradic
#573271 #713832 #4C7132 #326C71
square
#573271 #713832 #4C7132 #326C71
split-complementary
#573271 #6C7132 #327138
monochromatic
#160C1C #361F47 #573271 #78459B #9663BA

Accessibility & contrast

On white

10.00
#573271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#573271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573271
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573271#FFFFFF#000000##FFFFFF
##5732711.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#2C436F
Tritanopia (blue-blind)
#543D4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #573271;
/* rgb */ color: rgb(87, 50, 113);
/* oklch */ color: oklch(39.3% 0.109 309.4);
Tailwind
colors: {
  custom: {
    50: '#886b9a',
    500: '#573271',
    950: '#000000',
  },
}
SCSS
$custom: #573271;
$custom-light: #886b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#573271",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 275.238,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.10894,
    "h": 309.4
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#573271
secondary
#79A25D
accent
#CF598A
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #573271

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

Preview Lab → · Contrast checker → · Palette generator →

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