#572CA4#572CA4

#572CA4 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.180 H 293.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#572CA4
RGBrgb(87, 44, 164)
HSLhsl(262, 58%, 41%)
HSVhsv(262, 73%, 64%)
CMYKcmyk(47%, 73.2%, 0%, 35.7%)
CIE-LABlab(30.66, 46.40, -57.55)
CIE-LCHlch(30.66, 73.92, 308.88°)
OKLaboklab(42.29% 0.072 -0.1649)
OKLCHoklch(42.29% 0.18 293.6)
XYZxyz(11.5302, 6.5076, 35.7633)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572CA4 #79A42C
analogous
#2C3DA4 #572CA4 #932CA4
triadic
#572CA4 #A4572C #2CA457
tetradic
#572CA4 #A42C3D #79A42C #2CA493
square
#572CA4 #A42C3D #79A42C #2CA493
split-complementary
#572CA4 #A4932C #3DA42C
monochromatic
#241243 #3D1F74 #572CA4 #7341CC #9771D9

Accessibility & contrast

On white

9.12
#572CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#572CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572CA4
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572CA4#FFFFFF#000000##FFFFFF
##572CA41.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#404B65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #572ca4;
/* rgb */ color: rgb(87, 44, 164);
/* oklch */ color: oklch(42.3% 0.180 293.6);
Tailwind
colors: {
  custom: {
    50: '#8e69c0',
    500: '#572ca4',
    950: '#000000',
  },
}
SCSS
$custom: #572ca4;
$custom-light: #8e69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#572ca4",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 261.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42288,
    "c": 0.17994,
    "h": 293.6
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#572CA4
secondary
#A2C06B
accent
#E147AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #572CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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