#572586#572586

#572586 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.154 H 303.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#572586
RGBrgb(87, 37, 134)
HSLhsl(271, 57%, 34%)
HSVhsv(271, 72%, 53%)
CMYKcmyk(35.1%, 72.4%, 0%, 47.5%)
CIE-LABlab(26.93, 41.93, -45.19)
CIE-LCHlch(26.93, 61.65, 312.86°)
OKLaboklab(38.87% 0.085 -0.1286)
OKLCHoklch(38.87% 0.154 303.5)
XYZxyz(8.8941, 5.0706, 23.0598)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572586 #548625
analogous
#262586 #572586 #862584
triadic
#572586 #865725 #258657
tetradic
#572586 #862625 #548625 #258486
square
#572586 #862625 #548625 #258486
split-complementary
#572586 #848625 #258626
monochromatic
#190B26 #381856 #572586 #7632B6 #9555D0

Accessibility & contrast

On white

10.43
#572586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#572586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572586
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572586#FFFFFF#000000##FFFFFF
##5725861.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#4E3C53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #572586;
/* rgb */ color: rgb(87, 37, 134);
/* oklch */ color: oklch(38.9% 0.154 303.5);
Tailwind
colors: {
  custom: {
    50: '#8b64aa',
    500: '#572586',
    950: '#000000',
  },
}
SCSS
$custom: #572586;
$custom-light: #8b64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#572586",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 270.928,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38872,
    "c": 0.15413,
    "h": 303.5
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#572586
secondary
#82B452
accent
#E04892
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572586

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

Preview Lab → · Contrast checker → · Palette generator →

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