#572BAD#572BAD

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

Color values

HEX#572BAD
RGBrgb(87, 43, 173)
HSLhsl(260, 60%, 42%)
HSVhsv(260, 75%, 68%)
CMYKcmyk(49.7%, 75.1%, 0%, 32.2%)
CIE-LABlab(31.28, 49.36, -61.94)
CIE-LCHlch(31.28, 79.20, 308.55°)
OKLaboklab(42.97% 0.0707 -0.1778)
OKLCHoklch(42.97% 0.191 291.7)
XYZxyz(12.3351, 6.7707, 40.1840)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572BAD #81AD2B
analogous
#2B40AD #572BAD #982BAD
triadic
#572BAD #AD572B #2BAD57
tetradic
#572BAD #AD2B40 #81AD2B #2BAD98
square
#572BAD #AD2B40 #81AD2B #2BAD98
split-complementary
#572BAD #AD982B #40AD2B
monochromatic
#26134B #3E1F7C #572BAD #7445D1 #9976DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##572BAD#FFFFFF#000000##FFFFFF
##572BAD1.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)
#004CB1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#3B4E6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #572bad;
/* rgb */ color: rgb(87, 43, 173);
/* oklch */ color: oklch(43.0% 0.191 291.7);
Tailwind
colors: {
  custom: {
    50: '#8f69c7',
    500: '#572bad',
    950: '#000000',
  },
}
SCSS
$custom: #572bad;
$custom-light: #8f69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#572bad",
  "rgb": {
    "r": 87,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 260.308,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42971,
    "c": 0.19135,
    "h": 291.7
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#572BAD
secondary
#A8C46F
accent
#E344AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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