#572F99#572F99

#572F99 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.163 H 295.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#572F99
RGBrgb(87, 47, 153)
HSLhsl(263, 53%, 39%)
HSVhsv(263, 69%, 60%)
CMYKcmyk(43.1%, 69.3%, 0%, 40%)
CIE-LABlab(30.30, 41.82, -51.45)
CIE-LCHlch(30.30, 66.30, 309.10°)
OKLaboklab(41.75% 0.0711 -0.147)
OKLCHoklch(41.75% 0.163 295.8)
XYZxyz(10.6952, 6.3589, 30.7947)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572F99 #71992F
analogous
#2F3C99 #572F99 #8C2F99
triadic
#572F99 #99572F #2F9957
tetradic
#572F99 #992F3C #71992F #2F998C
square
#572F99 #992F3C #71992F #2F998C
split-complementary
#572F99 #998C2F #3C992F
monochromatic
#22123B #3C216A #572F99 #7241C5 #956FD3

Accessibility & contrast

On white

9.24
#572F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#572F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572F99
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572F99#FFFFFF#000000##FFFFFF
##572F991.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#464960
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #572f99;
/* rgb */ color: rgb(87, 47, 153);
/* oklch */ color: oklch(41.7% 0.163 295.8);
Tailwind
colors: {
  custom: {
    50: '#8c6ab8',
    500: '#572f99',
    950: '#000000',
  },
}
SCSS
$custom: #572f99;
$custom-light: #8c6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#572f99",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 262.642,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41749,
    "c": 0.16331,
    "h": 295.8
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#572F99
secondary
#9CBA69
accent
#DC4BA6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #572F99

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

Preview Lab → · Contrast checker → · Palette generator →

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