#572299#572299

#572299 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.179 H 297.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#572299
RGBrgb(87, 34, 153)
HSLhsl(267, 64%, 37%)
HSVhsv(267, 78%, 60%)
CMYKcmyk(43.1%, 77.8%, 0%, 40%)
CIE-LABlab(28.03, 48.20, -55.15)
CIE-LCHlch(28.03, 73.24, 311.15°)
OKLaboklab(40.14% 0.0837 -0.1578)
OKLCHoklch(40.14% 0.179 297.9)
XYZxyz(10.2508, 5.4700, 30.6466)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572299 #649922
analogous
#222999 #572299 #932299
triadic
#572299 #995722 #229957
tetradic
#572299 #992229 #649922 #229993
square
#572299 #992229 #649922 #229993
split-complementary
#572299 #999322 #299922
monochromatic
#1E0C35 #3B1767 #572299 #732DCB #945BDB

Accessibility & contrast

On white

10.03
#572299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#572299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572299
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572299#FFFFFF#000000##FFFFFF
##5722991.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#46425D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #572299;
/* rgb */ color: rgb(87, 34, 153);
/* oklch */ color: oklch(40.1% 0.179 297.9);
Tailwind
colors: {
  custom: {
    50: '#8d63b8',
    500: '#572299',
    950: '#000000',
  },
}
SCSS
$custom: #572299;
$custom-light: #8d63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#572299",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 266.723,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40143,
    "c": 0.17862,
    "h": 297.9
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#572299
secondary
#91BF58
accent
#E7419D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572299

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

Preview Lab → · Contrast checker → · Palette generator →

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