#572688#572688

#572688 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.155 H 302.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#572688
RGBrgb(87, 38, 136)
HSLhsl(270, 56%, 34%)
HSVhsv(270, 72%, 53%)
CMYKcmyk(36%, 72.1%, 0%, 46.7%)
CIE-LABlab(27.27, 41.95, -45.89)
CIE-LCHlch(27.27, 62.18, 312.43°)
OKLaboklab(39.16% 0.0836 -0.1306)
OKLCHoklch(39.16% 0.155 302.6)
XYZxyz(9.0665, 5.1900, 23.8119)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572688 #578826
analogous
#262688 #572688 #882688
triadic
#572688 #885726 #268857
tetradic
#572688 #882626 #578826 #268888
square
#572688 #882626 #578826 #268888
split-complementary
#572688 #888826 #268826
monochromatic
#1A0B28 #381958 #572688 #7633B8 #9458D0

Accessibility & contrast

On white

10.30
#572688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#572688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572688
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572688#FFFFFF#000000##FFFFFF
##5726881.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#4D3D54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #572688;
/* rgb */ color: rgb(87, 38, 136);
/* oklch */ color: oklch(39.2% 0.155 302.6);
Tailwind
colors: {
  custom: {
    50: '#8b65ab',
    500: '#572688',
    950: '#000000',
  },
}
SCSS
$custom: #572688;
$custom-light: #8b65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#572688",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 270,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3916,
    "c": 0.1551,
    "h": 302.6
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#572688
secondary
#85B555
accent
#E04894
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572688

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

Preview Lab → · Contrast checker → · Palette generator →

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