#572196#572196

#572196 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.176 H 298.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#572196
RGBrgb(87, 33, 150)
HSLhsl(268, 64%, 36%)
HSVhsv(268, 78%, 59%)
CMYKcmyk(42%, 78%, 0%, 41.2%)
CIE-LABlab(27.62, 47.87, -53.99)
CIE-LCHlch(27.62, 72.16, 311.56°)
OKLaboklab(39.77% 0.0853 -0.1544)
OKLCHoklch(39.77% 0.176 298.9)
XYZxyz(9.9780, 5.3158, 29.3486)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572196 #609621
analogous
#212696 #572196 #912196
triadic
#572196 #965721 #219657
tetradic
#572196 #962126 #609621 #219691
square
#572196 #962126 #609621 #219691
split-complementary
#572196 #969121 #269621
monochromatic
#1D0B32 #3A1664 #572196 #742CC8 #9457DA

Accessibility & contrast

On white

10.18
#572196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#572196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572196
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572196#FFFFFF#000000##FFFFFF
##5721961.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#48405B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572196;
/* rgb */ color: rgb(87, 33, 150);
/* oklch */ color: oklch(39.8% 0.176 298.9);
Tailwind
colors: {
  custom: {
    50: '#8d63b6',
    500: '#572196',
    950: '#000000',
  },
}
SCSS
$custom: #572196;
$custom-light: #8d63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#572196",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 267.692,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39769,
    "c": 0.17642,
    "h": 298.9
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#572196
secondary
#8DBE55
accent
#E7419A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572196

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

Preview Lab → · Contrast checker → · Palette generator →

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