#572789#572789

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

Color values

HEX#572789
RGBrgb(87, 39, 137)
HSLhsl(269, 56%, 35%)
HSVhsv(269, 72%, 54%)
CMYKcmyk(36.5%, 71.5%, 0%, 46.3%)
CIE-LABlab(27.53, 41.71, -46.10)
CIE-LCHlch(27.53, 62.17, 312.14°)
OKLaboklab(39.37% 0.0823 -0.1313)
OKLCHoklch(39.37% 0.155 302.1)
XYZxyz(9.1703, 5.2834, 24.1987)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572789 #598927
analogous
#272889 #572789 #882789
triadic
#572789 #895727 #278957
tetradic
#572789 #892728 #598927 #278988
square
#572789 #892728 #598927 #278988
split-complementary
#572789 #898827 #288927
monochromatic
#1A0C2A #391959 #572789 #7535B9 #945AD0

Accessibility & contrast

On white

10.21
#572789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#572789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572789
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572789#FFFFFF#000000##FFFFFF
##5727891.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#4D3E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572789;
/* rgb */ color: rgb(87, 39, 137);
/* oklch */ color: oklch(39.4% 0.155 302.1);
Tailwind
colors: {
  custom: {
    50: '#8b65ac',
    500: '#572789',
    950: '#000000',
  },
}
SCSS
$custom: #572789;
$custom-light: #8b65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#572789",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 269.388,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.15494,
    "h": 302.1
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#572789
secondary
#87B557
accent
#DF4995
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572789

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

Preview Lab → · Contrast checker → · Palette generator →

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