#572CA5#572CA5

#572CA5 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.181 H 293.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#572CA5
RGBrgb(87, 44, 165)
HSLhsl(261, 58%, 41%)
HSVhsv(261, 73%, 65%)
CMYKcmyk(47.3%, 73.3%, 0%, 35.3%)
CIE-LABlab(30.74, 46.68, -58.01)
CIE-LCHlch(30.74, 74.46, 308.82°)
OKLaboklab(42.38% 0.0717 -0.1663)
OKLCHoklch(42.38% 0.181 293.3)
XYZxyz(11.6208, 6.5438, 36.2408)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572CA5 #7AA52C
analogous
#2C3DA5 #572CA5 #932CA5
triadic
#572CA5 #A5572C #2CA557
tetradic
#572CA5 #A52C3D #7AA52C #2CA593
square
#572CA5 #A52C3D #7AA52C #2CA593
split-complementary
#572CA5 #A5932C #3DA52C
monochromatic
#241244 #3E1F75 #572CA5 #7342CD #9772D9

Accessibility & contrast

On white

9.10
#572CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#572CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572CA5
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572CA5#FFFFFF#000000##FFFFFF
##572CA51.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#3F4C66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #572ca5;
/* rgb */ color: rgb(87, 44, 165);
/* oklch */ color: oklch(42.4% 0.181 293.3);
Tailwind
colors: {
  custom: {
    50: '#8e69c1',
    500: '#572ca5',
    950: '#000000',
  },
}
SCSS
$custom: #572ca5;
$custom-light: #8e69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#572ca5",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 261.322,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42376,
    "c": 0.1811,
    "h": 293.3
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#572CA5
secondary
#A3C16C
accent
#E147AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #572CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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