#572687#572687

#572687 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.154 H 303.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#572687
RGBrgb(87, 38, 135)
HSLhsl(270, 56%, 34%)
HSVhsv(270, 72%, 53%)
CMYKcmyk(35.6%, 71.9%, 0%, 47.1%)
CIE-LABlab(27.19, 41.69, -45.40)
CIE-LCHlch(27.19, 61.64, 312.56°)
OKLaboklab(39.08% 0.0838 -0.1292)
OKLCHoklch(39.08% 0.154 303)
XYZxyz(8.9957, 5.1617, 23.4394)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572687 #568726
analogous
#272687 #572687 #872687
triadic
#572687 #875726 #268757
tetradic
#572687 #872726 #568726 #268787
square
#572687 #872726 #568726 #268787
split-complementary
#572687 #878726 #268727
monochromatic
#190B27 #381957 #572687 #7633B7 #9458D0

Accessibility & contrast

On white

10.33
#572687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572687
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572687#FFFFFF#000000##FFFFFF
##5726871.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#4D3D53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #572687;
/* rgb */ color: rgb(87, 38, 135);
/* oklch */ color: oklch(39.1% 0.154 303.0);
Tailwind
colors: {
  custom: {
    50: '#8b65ab',
    500: '#572687',
    950: '#000000',
  },
}
SCSS
$custom: #572687;
$custom-light: #8b65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#572687",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 270.309,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39079,
    "c": 0.15396,
    "h": 303
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#572687
secondary
#84B554
accent
#DF4893
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572687

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

Preview Lab → · Contrast checker → · Palette generator →

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