#572399#572399

#572399 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.178 H 297.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#572399
RGBrgb(87, 35, 153)
HSLhsl(266, 63%, 37%)
HSVhsv(266, 77%, 60%)
CMYKcmyk(43.1%, 77.1%, 0%, 40%)
CIE-LABlab(28.19, 47.75, -54.90)
CIE-LCHlch(28.19, 72.76, 311.02°)
OKLaboklab(40.25% 0.0828 -0.1571)
OKLCHoklch(40.25% 0.178 297.8)
XYZxyz(10.2798, 5.5280, 30.6562)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572399 #659923
analogous
#232A99 #572399 #922399
triadic
#572399 #995723 #239957
tetradic
#572399 #99232A #659923 #239992
square
#572399 #99232A #659923 #239992
split-complementary
#572399 #999223 #2A9923
monochromatic
#1E0C35 #3B1867 #572399 #732ECB #945DDA

Accessibility & contrast

On white

9.97
#572399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#572399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572399
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572399#FFFFFF#000000##FFFFFF
##5723991.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572399;
/* rgb */ color: rgb(87, 35, 153);
/* oklch */ color: oklch(40.3% 0.178 297.8);
Tailwind
colors: {
  custom: {
    50: '#8d64b8',
    500: '#572399',
    950: '#000000',
  },
}
SCSS
$custom: #572399;
$custom-light: #8d64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#572399",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 266.441,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40252,
    "c": 0.17756,
    "h": 297.8
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#572399
secondary
#92BE59
accent
#E6429E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572399

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

Preview Lab → · Contrast checker → · Palette generator →

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