#572A97#572A97

#572A97 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.167 H 297.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#572A97
RGBrgb(87, 42, 151)
HSLhsl(265, 56%, 38%)
HSVhsv(265, 72%, 59%)
CMYKcmyk(42.4%, 72.2%, 0%, 40.8%)
CIE-LABlab(29.20, 43.88, -52.02)
CIE-LCHlch(29.20, 68.06, 310.15°)
OKLaboklab(40.91% 0.0766 -0.1487)
OKLCHoklch(40.91% 0.167 297.3)
XYZxyz(10.3429, 5.9163, 29.8692)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572A97 #6A972A
analogous
#2A3397 #572A97 #8E2A97
triadic
#572A97 #97572A #2A9757
tetradic
#572A97 #972A33 #6A972A #2A978E
square
#572A97 #972A33 #6A972A #2A978E
split-complementary
#572A97 #978E2A #33972A
monochromatic
#200F37 #3B1D67 #572A97 #7337C7 #9467D5

Accessibility & contrast

On white

9.62
#572A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#572A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572A97
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572A97#FFFFFF#000000##FFFFFF
##572A971.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#47455D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #572a97;
/* rgb */ color: rgb(87, 42, 151);
/* oklch */ color: oklch(40.9% 0.167 297.3);
Tailwind
colors: {
  custom: {
    50: '#8c67b6',
    500: '#572a97',
    950: '#000000',
  },
}
SCSS
$custom: #572a97;
$custom-light: #8c67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#572a97",
  "rgb": {
    "r": 87,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 264.771,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40913,
    "c": 0.16727,
    "h": 297.3
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#572A97
secondary
#96BB62
accent
#E048A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572A97

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

Preview Lab → · Contrast checker → · Palette generator →

#572A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva