#572A9E#572A9E

#572A9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.175 H 295.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#572A9E
RGBrgb(87, 42, 158)
HSLhsl(263, 58%, 39%)
HSVhsv(263, 73%, 62%)
CMYKcmyk(44.9%, 73.4%, 0%, 38%)
CIE-LABlab(29.79, 45.77, -55.33)
CIE-LCHlch(29.79, 71.81, 309.59°)
OKLaboklab(41.51% 0.0752 -0.1584)
OKLCHoklch(41.51% 0.175 295.4)
XYZxyz(10.9283, 6.1505, 32.9525)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572A9E #719E2A
analogous
#2A379E #572A9E #912A9E
triadic
#572A9E #9E572A #2A9E57
tetradic
#572A9E #9E2A37 #719E2A #2A9E91
square
#572A9E #9E2A37 #719E2A #2A9E91
split-complementary
#572A9E #9E912A #379E2A
monochromatic
#22103D #3C1D6E #572A9E #723ACB #956BD8

Accessibility & contrast

On white

9.42
#572A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#572A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572A9E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572A9E#FFFFFF#000000##FFFFFF
##572A9E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#434861
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #572a9e;
/* rgb */ color: rgb(87, 42, 158);
/* oklch */ color: oklch(41.5% 0.175 295.4);
Tailwind
colors: {
  custom: {
    50: '#8d68bc',
    500: '#572a9e',
    950: '#000000',
  },
}
SCSS
$custom: #572a9e;
$custom-light: #8d68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#572a9e",
  "rgb": {
    "r": 87,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 263.276,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41514,
    "c": 0.17534,
    "h": 295.4
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#572A9E
secondary
#9CBE66
accent
#E147A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #572A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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