#572279#572279

#572279 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.144 H 309.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#572279
RGBrgb(87, 34, 121)
HSLhsl(277, 56%, 30%)
HSVhsv(277, 72%, 47%)
CMYKcmyk(28.1%, 71.9%, 0%, 52.5%)
CIE-LABlab(25.41, 40.18, -39.46)
CIE-LCHlch(25.41, 56.31, 315.52°)
OKLaboklab(37.47% 0.0903 -0.1117)
OKLCHoklch(37.47% 0.144 309)
XYZxyz(7.9530, 4.5509, 18.5449)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572279 #447922
analogous
#2C2279 #572279 #79226F
triadic
#572279 #795722 #227957
tetradic
#572279 #792C22 #447922 #226F79
square
#572279 #792C22 #447922 #226F79
split-complementary
#572279 #6F7922 #22792C
monochromatic
#120719 #351549 #572279 #792FA9 #9949CC

Accessibility & contrast

On white

10.99
#572279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#572279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572279
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572279#FFFFFF#000000##FFFFFF
##5722791.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#103D77
Tritanopia (blue-blind)
#52354B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #572279;
/* rgb */ color: rgb(87, 34, 121);
/* oklch */ color: oklch(37.5% 0.144 309.0);
Tailwind
colors: {
  custom: {
    50: '#8a62a0',
    500: '#572279',
    950: '#000000',
  },
}
SCSS
$custom: #572279;
$custom-light: #8a62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#572279",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 276.552,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37474,
    "c": 0.14366,
    "h": 309
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#572279
secondary
#71AC4B
accent
#DF4883
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050F
muted
#7D7A7E

Preview Lab

Preview with #572279

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

Preview Lab → · Contrast checker → · Palette generator →

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