#572197#572197

#572197 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.177 H 298.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#572197
RGBrgb(87, 33, 151)
HSLhsl(267, 64%, 36%)
HSVhsv(267, 78%, 59%)
CMYKcmyk(42.4%, 78.1%, 0%, 40.8%)
CIE-LABlab(27.70, 48.12, -54.46)
CIE-LCHlch(27.70, 72.68, 311.46°)
OKLaboklab(39.86% 0.0851 -0.1558)
OKLCHoklch(39.86% 0.178 298.6)
XYZxyz(10.0588, 5.3482, 29.7745)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572197 #619721
analogous
#212697 #572197 #922197
triadic
#572197 #975721 #219757
tetradic
#572197 #972126 #619721 #219792
square
#572197 #972126 #619721 #219792
split-complementary
#572197 #979221 #269721
monochromatic
#1D0B33 #3A1665 #572197 #742CC9 #9458DA

Accessibility & contrast

On white

10.15
#572197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#572197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572197
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572197#FFFFFF#000000##FFFFFF
##5721971.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#47415B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572197;
/* rgb */ color: rgb(87, 33, 151);
/* oklch */ color: oklch(39.9% 0.177 298.6);
Tailwind
colors: {
  custom: {
    50: '#8d63b7',
    500: '#572197',
    950: '#000000',
  },
}
SCSS
$custom: #572197;
$custom-light: #8d63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#572197",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 267.458,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39858,
    "c": 0.1775,
    "h": 298.6
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#572197
secondary
#8EBE55
accent
#E7419B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572197

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

Preview Lab → · Contrast checker → · Palette generator →

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