#572686#572686

#572686 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.153 H 303.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#572686
RGBrgb(87, 38, 134)
HSLhsl(271, 56%, 34%)
HSVhsv(271, 72%, 53%)
CMYKcmyk(35.1%, 71.6%, 0%, 47.5%)
CIE-LABlab(27.11, 41.44, -44.90)
CIE-LCHlch(27.11, 61.10, 312.70°)
OKLaboklab(39% 0.0839 -0.1277)
OKLCHoklch(39% 0.153 303.3)
XYZxyz(8.9257, 5.1337, 23.0703)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572686 #558626
analogous
#272686 #572686 #862685
triadic
#572686 #865726 #268657
tetradic
#572686 #862726 #558626 #268586
square
#572686 #862726 #558626 #268586
split-complementary
#572686 #858626 #268627
monochromatic
#190B27 #381856 #572686 #7634B6 #9457CF

Accessibility & contrast

On white

10.36
#572686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#572686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572686
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572686#FFFFFF#000000##FFFFFF
##5726861.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572686;
/* rgb */ color: rgb(87, 38, 134);
/* oklch */ color: oklch(39.0% 0.153 303.3);
Tailwind
colors: {
  custom: {
    50: '#8b65aa',
    500: '#572686',
    950: '#000000',
  },
}
SCSS
$custom: #572686;
$custom-light: #8b65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#572686",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 270.625,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38999,
    "c": 0.15283,
    "h": 303.3
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#572686
secondary
#83B454
accent
#DF4992
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572686

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

Preview Lab → · Contrast checker → · Palette generator →

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