#572986#572986

#572986 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.149 H 302.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#572986
RGBrgb(87, 41, 134)
HSLhsl(270, 53%, 34%)
HSVhsv(270, 69%, 53%)
CMYKcmyk(35.1%, 69.4%, 0%, 47.5%)
CIE-LABlab(27.66, 39.90, -44.01)
CIE-LCHlch(27.66, 59.41, 312.20°)
OKLaboklab(39.39% 0.0805 -0.1251)
OKLCHoklch(39.39% 0.149 302.8)
XYZxyz(9.0255, 5.3333, 23.1036)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572986 #588629
analogous
#292A86 #572986 #862986
triadic
#572986 #865729 #298657
tetradic
#572986 #86292A #588629 #298686
square
#572986 #86292A #588629 #298686
split-complementary
#572986 #868629 #2A8629
monochromatic
#1A0C28 #391B57 #572986 #7537B5 #945CCD

Accessibility & contrast

On white

10.16
#572986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572986
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572986#FFFFFF#000000##FFFFFF
##5729861.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#4E3E54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572986;
/* rgb */ color: rgb(87, 41, 134);
/* oklch */ color: oklch(39.4% 0.149 302.8);
Tailwind
colors: {
  custom: {
    50: '#8b66aa',
    500: '#572986',
    950: '#000000',
  },
}
SCSS
$custom: #572986;
$custom-light: #8b66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#572986",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 269.677,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.14879,
    "h": 302.8
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#572986
secondary
#86B358
accent
#DD4B95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572986

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

Preview Lab → · Contrast checker → · Palette generator →

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