#572D99#572D99

#572D99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.166 H 296.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#572D99
RGBrgb(87, 45, 153)
HSLhsl(263, 55%, 39%)
HSVhsv(263, 71%, 60%)
CMYKcmyk(43.1%, 70.6%, 0%, 40%)
CIE-LABlab(29.92, 42.88, -52.07)
CIE-LCHlch(29.92, 67.46, 309.47°)
OKLaboklab(41.48% 0.0732 -0.1488)
OKLCHoklch(41.48% 0.166 296.2)
XYZxyz(10.6171, 6.2027, 30.7687)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572D99 #6F992D
analogous
#2D3999 #572D99 #8D2D99
triadic
#572D99 #99572D #2D9957
tetradic
#572D99 #992D39 #6F992D #2D998D
square
#572D99 #992D39 #6F992D #2D998D
split-complementary
#572D99 #998D2D #39992D
monochromatic
#21113A #3C1F6A #572D99 #723DC6 #956CD4

Accessibility & contrast

On white

9.37
#572D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#572D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572D99
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572D99#FFFFFF#000000##FFFFFF
##572D991.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#46485F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #572d99;
/* rgb */ color: rgb(87, 45, 153);
/* oklch */ color: oklch(41.5% 0.166 296.2);
Tailwind
colors: {
  custom: {
    50: '#8c69b8',
    500: '#572d99',
    950: '#000000',
  },
}
SCSS
$custom: #572d99;
$custom-light: #8c69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#572d99",
  "rgb": {
    "r": 87,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 263.333,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41476,
    "c": 0.16587,
    "h": 296.2
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#572D99
secondary
#9ABB67
accent
#DE4AA4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572D99

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

Preview Lab → · Contrast checker → · Palette generator →

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