#572099#572099

#572099 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.181 H 298.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#572099
RGBrgb(87, 32, 153)
HSLhsl(267, 65%, 36%)
HSVhsv(267, 79%, 60%)
CMYKcmyk(43.1%, 79.1%, 0%, 40%)
CIE-LABlab(27.73, 49.06, -55.64)
CIE-LCHlch(27.73, 74.18, 311.40°)
OKLaboklab(39.93% 0.0853 -0.1592)
OKLCHoklch(39.93% 0.181 298.2)
XYZxyz(10.1953, 5.3590, 30.6281)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572099 #629920
analogous
#202699 #572099 #942099
triadic
#572099 #995720 #209957
tetradic
#572099 #992026 #629920 #209994
square
#572099 #992026 #629920 #209994
split-complementary
#572099 #999420 #269920
monochromatic
#1D0B34 #3A1566 #572099 #742BCC #9457DC

Accessibility & contrast

On white

10.14
#572099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572099
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572099#FFFFFF#000000##FFFFFF
##5720991.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572099;
/* rgb */ color: rgb(87, 32, 153);
/* oklch */ color: oklch(39.9% 0.181 298.2);
Tailwind
colors: {
  custom: {
    50: '#8d62b8',
    500: '#572099',
    950: '#000000',
  },
}
SCSS
$custom: #572099;
$custom-light: #8d62b8;
$custom-dark: #000000;
JSON
{
  "hex": "#572099",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 267.273,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.18067,
    "h": 298.2
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#572099
secondary
#8FC055
accent
#E83F9C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572099

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

Preview Lab → · Contrast checker → · Palette generator →

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