#572BA4#572BA4

#572BA4 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.181 H 293.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#572BA4
RGBrgb(87, 43, 164)
HSLhsl(262, 58%, 41%)
HSVhsv(262, 74%, 64%)
CMYKcmyk(47%, 73.8%, 0%, 35.7%)
CIE-LABlab(30.48, 46.90, -57.84)
CIE-LCHlch(30.48, 74.46, 309.04°)
OKLaboklab(42.16% 0.0729 -0.1658)
OKLCHoklch(42.16% 0.181 293.7)
XYZxyz(11.4934, 6.4340, 35.7511)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572BA4 #78A42B
analogous
#2B3CA4 #572BA4 #932BA4
triadic
#572BA4 #A4572B #2BA457
tetradic
#572BA4 #A42B3C #78A42B #2BA493
square
#572BA4 #A42B3C #78A42B #2BA493
split-complementary
#572BA4 #A4932B #3CA42B
monochromatic
#241243 #3D1E74 #572BA4 #733FCD #9670D9

Accessibility & contrast

On white

9.18
#572BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#572BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572BA4
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572BA4#FFFFFF#000000##FFFFFF
##572BA41.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572ba4;
/* rgb */ color: rgb(87, 43, 164);
/* oklch */ color: oklch(42.2% 0.181 293.7);
Tailwind
colors: {
  custom: {
    50: '#8e69c0',
    500: '#572ba4',
    950: '#000000',
  },
}
SCSS
$custom: #572ba4;
$custom-light: #8e69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#572ba4",
  "rgb": {
    "r": 87,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 261.818,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42164,
    "c": 0.18108,
    "h": 293.7
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#572BA4
secondary
#A1C16A
accent
#E246A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #572BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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