#572189#572189

#572189 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.162 H 303.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#572189
RGBrgb(87, 33, 137)
HSLhsl(271, 61%, 33%)
HSVhsv(271, 76%, 54%)
CMYKcmyk(36.5%, 75.9%, 0%, 46.3%)
CIE-LABlab(26.51, 44.59, -47.76)
CIE-LCHlch(26.51, 65.34, 313.03°)
OKLaboklab(38.64% 0.0886 -0.1361)
OKLCHoklch(38.64% 0.162 303.1)
XYZxyz(8.9886, 4.9201, 24.1382)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572189 #538921
analogous
#232189 #572189 #892187
triadic
#572189 #895721 #218957
tetradic
#572189 #892321 #538921 #218789
square
#572189 #892321 #538921 #218789
split-complementary
#572189 #878921 #218923
monochromatic
#180926 #381558 #572189 #762DBA #9550D5

Accessibility & contrast

On white

10.58
#572189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#572189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572189
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572189#FFFFFF#000000##FFFFFF
##5721891.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#4D3B53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #572189;
/* rgb */ color: rgb(87, 33, 137);
/* oklch */ color: oklch(38.6% 0.162 303.1);
Tailwind
colors: {
  custom: {
    50: '#8b62ac',
    500: '#572189',
    950: '#000000',
  },
}
SCSS
$custom: #572189;
$custom-light: #8b62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#572189",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 271.154,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38644,
    "c": 0.16238,
    "h": 303.1
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#572189
secondary
#81B84E
accent
#E44491
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572189

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

Preview Lab → · Contrast checker → · Palette generator →

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