#572799#572799

#572799 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.173 H 297.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#572799
RGBrgb(87, 39, 153)
HSLhsl(265, 59%, 38%)
HSVhsv(265, 75%, 60%)
CMYKcmyk(43.1%, 74.5%, 0%, 40%)
CIE-LABlab(28.84, 45.89, -53.83)
CIE-LCHlch(28.84, 70.74, 310.45°)
OKLaboklab(40.71% 0.0791 -0.154)
OKLCHoklch(40.71% 0.173 297.2)
XYZxyz(10.4043, 5.7770, 30.6977)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572799 #699927
analogous
#273099 #572799 #902799
triadic
#572799 #995727 #279957
tetradic
#572799 #992730 #699927 #279990
square
#572799 #992730 #699927 #279990
split-complementary
#572799 #999027 #309927
monochromatic
#200E37 #3B1B68 #572799 #7333CA #9463D7

Accessibility & contrast

On white

9.74
#572799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#572799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572799
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572799#FFFFFF#000000##FFFFFF
##5727991.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#46445E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #572799;
/* rgb */ color: rgb(87, 39, 153);
/* oklch */ color: oklch(40.7% 0.173 297.2);
Tailwind
colors: {
  custom: {
    50: '#8d66b8',
    500: '#572799',
    950: '#000000',
  },
}
SCSS
$custom: #572799;
$custom-light: #8d66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#572799",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 265.263,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40712,
    "c": 0.17312,
    "h": 297.2
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#572799
secondary
#95BD5F
accent
#E345A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572799

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

Preview Lab → · Contrast checker → · Palette generator →

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