#572199#572199

#572199 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.180 H 298.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#572199
RGBrgb(87, 33, 153)
HSLhsl(267, 65%, 36%)
HSVhsv(267, 78%, 60%)
CMYKcmyk(43.1%, 78.4%, 0%, 40%)
CIE-LABlab(27.88, 48.63, -55.40)
CIE-LCHlch(27.88, 73.72, 311.28°)
OKLaboklab(40.04% 0.0845 -0.1585)
OKLCHoklch(40.04% 0.18 298.1)
XYZxyz(10.2226, 5.4137, 30.6372)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572199 #639921
analogous
#212799 #572199 #932199
triadic
#572199 #995721 #219957
tetradic
#572199 #992127 #639921 #219993
square
#572199 #992127 #639921 #219993
split-complementary
#572199 #999321 #279921
monochromatic
#1E0B34 #3A1667 #572199 #742CCB #9459DB

Accessibility & contrast

On white

10.08
#572199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#572199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572199
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572199#FFFFFF#000000##FFFFFF
##5721991.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#46425C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #572199;
/* rgb */ color: rgb(87, 33, 153);
/* oklch */ color: oklch(40.0% 0.180 298.1);
Tailwind
colors: {
  custom: {
    50: '#8d63b8',
    500: '#572199',
    950: '#000000',
  },
}
SCSS
$custom: #572199;
$custom-light: #8d63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#572199",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 267,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.17965,
    "h": 298.1
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#572199
secondary
#90BF56
accent
#E8409C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572199

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

Preview Lab → · Contrast checker → · Palette generator →

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