#573278#573278

#573278 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.7% C 0.118 H 306.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#573278
RGBrgb(87, 50, 120)
HSLhsl(272, 41%, 33%)
HSVhsv(272, 58%, 47%)
CMYKcmyk(27.5%, 58.3%, 0%, 52.9%)
CIE-LABlab(28.55, 31.23, -33.79)
CIE-LCHlch(28.55, 46.02, 312.75°)
OKLaboklab(39.72% 0.0695 -0.0952)
OKLCHoklch(39.72% 0.118 306.2)
XYZxyz(8.4605, 5.6636, 18.4131)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573278 #537832
analogous
#343278 #573278 #783276
triadic
#573278 #785732 #327857
tetradic
#573278 #783432 #537832 #327678
square
#573278 #783432 #537832 #327678
split-complementary
#573278 #767832 #327834
monochromatic
#180E22 #38204D #573278 #7644A3 #9565BF

Accessibility & contrast

On white

9.85
#573278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#573278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573278
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573278#FFFFFF#000000##FFFFFF
##5732781.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#264476
Tritanopia (blue-blind)
#523F50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #573278;
/* rgb */ color: rgb(87, 50, 120);
/* oklch */ color: oklch(39.7% 0.118 306.2);
Tailwind
colors: {
  custom: {
    50: '#896b9f',
    500: '#573278',
    950: '#000000',
  },
}
SCSS
$custom: #573278;
$custom-light: #896b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#573278",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 271.714,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39722,
    "c": 0.11786,
    "h": 306.2
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#573278
secondary
#81A75F
accent
#D15790
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #573278

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

Preview Lab → · Contrast checker → · Palette generator →

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