#572DA9#572DA9

#572DA9 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.185 H 292.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#572DA9
RGBrgb(87, 45, 169)
HSLhsl(260, 58%, 42%)
HSVhsv(260, 73%, 66%)
CMYKcmyk(48.5%, 73.4%, 0%, 33.7%)
CIE-LABlab(31.27, 47.28, -59.56)
CIE-LCHlch(31.27, 76.04, 308.44°)
OKLaboklab(42.86% 0.0699 -0.1708)
OKLCHoklch(42.86% 0.185 292.3)
XYZxyz(12.0283, 6.7672, 38.2009)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572DA9 #7FA92D
analogous
#2D41A9 #572DA9 #952DA9
triadic
#572DA9 #A9572D #2DA957
tetradic
#572DA9 #A92D41 #7FA92D #2DA995
square
#572DA9 #A92D41 #7FA92D #2DA995
split-complementary
#572DA9 #A9952D #41A92D
monochromatic
#251348 #3E2079 #572DA9 #7446CE #9876DA

Accessibility & contrast

On white

8.92
#572DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#572DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572DA9
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572DA9#FFFFFF#000000##FFFFFF
##572DA91.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#3D4E68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572da9;
/* rgb */ color: rgb(87, 45, 169);
/* oklch */ color: oklch(42.9% 0.185 292.3);
Tailwind
colors: {
  custom: {
    50: '#8e6ac4',
    500: '#572da9',
    950: '#000000',
  },
}
SCSS
$custom: #572da9;
$custom-light: #8e6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#572da9",
  "rgb": {
    "r": 87,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 260.323,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.18459,
    "h": 292.3
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#572DA9
secondary
#A6C26F
accent
#E147AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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