#572CA9#572CA9

#572CA9 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.186 H 292.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#572CA9
RGBrgb(87, 44, 169)
HSLhsl(261, 59%, 42%)
HSVhsv(261, 74%, 66%)
CMYKcmyk(48.5%, 74%, 0%, 33.7%)
CIE-LABlab(31.09, 47.77, -59.85)
CIE-LCHlch(31.09, 76.58, 308.60°)
OKLaboklab(42.73% 0.0708 -0.1717)
OKLCHoklch(42.73% 0.186 292.4)
XYZxyz(11.9906, 6.6918, 38.1883)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572CA9 #7EA92C
analogous
#2C40A9 #572CA9 #962CA9
triadic
#572CA9 #A9572C #2CA957
tetradic
#572CA9 #A92C40 #7EA92C #2CA996
square
#572CA9 #A92C40 #7EA92C #2CA996
split-complementary
#572CA9 #A9962C #40A92C
monochromatic
#251348 #3E1F78 #572CA9 #7444CE #9874DB

Accessibility & contrast

On white

8.98
#572CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#572CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572CA9
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572CA9#FFFFFF#000000##FFFFFF
##572CA91.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#3D4D68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #572ca9;
/* rgb */ color: rgb(87, 44, 169);
/* oklch */ color: oklch(42.7% 0.186 292.4);
Tailwind
colors: {
  custom: {
    50: '#8e69c4',
    500: '#572ca9',
    950: '#000000',
  },
}
SCSS
$custom: #572ca9;
$custom-light: #8e69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#572ca9",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 260.64,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42731,
    "c": 0.1857,
    "h": 292.4
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#572CA9
secondary
#A6C36E
accent
#E246AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572CA9

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

Preview Lab → · Contrast checker → · Palette generator →

#572CA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva