#572770#572770

#572770 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.126 H 312.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#572770
RGBrgb(87, 39, 112)
HSLhsl(279, 48%, 30%)
HSVhsv(279, 65%, 44%)
CMYKcmyk(22.3%, 65.2%, 0%, 56.1%)
CIE-LABlab(25.71, 35.46, -33.25)
CIE-LCHlch(25.71, 48.60, 316.84°)
OKLaboklab(37.48% 0.0847 -0.0935)
OKLCHoklch(37.48% 0.126 312.2)
XYZxyz(7.5801, 4.6473, 15.8238)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572770 #407027
analogous
#332770 #572770 #702765
triadic
#572770 #705727 #277057
tetradic
#572770 #703327 #407027 #276570
square
#572770 #703327 #407027 #276570
split-complementary
#572770 #657027 #277033
monochromatic
#120817 #341743 #572770 #7A379D #9B50C2

Accessibility & contrast

On white

10.88
#572770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#572770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572770
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572770#FFFFFF#000000##FFFFFF
##5727701.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093A72
Deuteranopia (green-blind)
#213E6E
Tritanopia (blue-blind)
#543547
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #572770;
/* rgb */ color: rgb(87, 39, 112);
/* oklch */ color: oklch(37.5% 0.126 312.2);
Tailwind
colors: {
  custom: {
    50: '#896499',
    500: '#572770',
    950: '#000000',
  },
}
SCSS
$custom: #572770;
$custom-light: #896499;
$custom-dark: #000000;
JSON
{
  "hex": "#572770",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 279.452,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3748,
    "c": 0.12619,
    "h": 312.2
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#572770
secondary
#6CA250
accent
#D8507E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #572770

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

Preview Lab → · Contrast checker → · Palette generator →

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