#572987#572987

#572987 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.150 H 302.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#572987
RGBrgb(87, 41, 135)
HSLhsl(269, 53%, 35%)
HSVhsv(269, 70%, 53%)
CMYKcmyk(35.6%, 69.6%, 0%, 47.1%)
CIE-LABlab(27.74, 40.16, -44.51)
CIE-LCHlch(27.74, 59.95, 312.06°)
OKLaboklab(39.47% 0.0804 -0.1266)
OKLCHoklch(39.47% 0.15 302.4)
XYZxyz(9.0956, 5.3614, 23.4726)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572987 #598729
analogous
#292A87 #572987 #862987
triadic
#572987 #875729 #298757
tetradic
#572987 #87292A #598729 #298786
square
#572987 #87292A #598729 #298786
split-complementary
#572987 #878629 #2A8729
monochromatic
#1A0C29 #391B58 #572987 #7537B6 #945DCE

Accessibility & contrast

On white

10.13
#572987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#572987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572987
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572987#FFFFFF#000000##FFFFFF
##5729871.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#4D3E54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572987;
/* rgb */ color: rgb(87, 41, 135);
/* oklch */ color: oklch(39.5% 0.150 302.4);
Tailwind
colors: {
  custom: {
    50: '#8b66ab',
    500: '#572987',
    950: '#000000',
  },
}
SCSS
$custom: #572987;
$custom-light: #8b66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#572987",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 269.362,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39472,
    "c": 0.14995,
    "h": 302.4
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#572987
secondary
#87B359
accent
#DD4B95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572987

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

Preview Lab → · Contrast checker → · Palette generator →

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