#572089#572089

#572089 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.164 H 303.2°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#572089
RGBrgb(87, 32, 137)
HSLhsl(271, 62%, 33%)
HSVhsv(271, 77%, 54%)
CMYKcmyk(36.5%, 76.6%, 0%, 46.3%)
CIE-LABlab(26.35, 45.04, -48.02)
CIE-LCHlch(26.35, 65.83, 313.17°)
OKLaboklab(38.53% 0.0895 -0.1368)
OKLCHoklch(38.53% 0.164 303.2)
XYZxyz(8.9613, 4.8654, 24.1291)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572089 #528920
analogous
#232089 #572089 #892086
triadic
#572089 #895720 #208957
tetradic
#572089 #892320 #528920 #208689
square
#572089 #892320 #528920 #208689
split-complementary
#572089 #868920 #208923
monochromatic
#180926 #371457 #572089 #772CBB #954ED6

Accessibility & contrast

On white

10.64
#572089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#572089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572089
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572089#FFFFFF#000000##FFFFFF
##5720891.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#4D3A53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #572089;
/* rgb */ color: rgb(87, 32, 137);
/* oklch */ color: oklch(38.5% 0.164 303.2);
Tailwind
colors: {
  custom: {
    50: '#8b61ac',
    500: '#572089',
    950: '#000000',
  },
}
SCSS
$custom: #572089;
$custom-light: #8b61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#572089",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 271.429,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38532,
    "c": 0.16353,
    "h": 303.2
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#572089
secondary
#80B94C
accent
#E54390
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572089

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

Preview Lab → · Contrast checker → · Palette generator →

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