#572FB2#572FB2

#572FB2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.193 H 290.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#572FB2
RGBrgb(87, 47, 178)
HSLhsl(258, 58%, 44%)
HSVhsv(258, 74%, 70%)
CMYKcmyk(51.1%, 73.6%, 0%, 30.2%)
CIE-LABlab(32.42, 48.78, -63.06)
CIE-LCHlch(32.42, 79.72, 307.72°)
OKLaboklab(43.91% 0.0661 -0.1811)
OKLCHoklch(43.91% 0.193 290)
XYZxyz(12.9806, 7.2731, 42.8307)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FB2 #8AB22F
analogous
#2F48B2 #572FB2 #992FB2
triadic
#572FB2 #B2572F #2FB257
tetradic
#572FB2 #B22F48 #8AB22F #2FB299
square
#572FB2 #B22F48 #8AB22F #2FB299
split-complementary
#572FB2 #B2992F #48B22F
monochromatic
#281551 #3F2282 #572FB2 #764ED0 #9B7EDD

Accessibility & contrast

On white

8.55
#572FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#572FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FB2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FB2#FFFFFF#000000##FFFFFF
##572FB21.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#37526E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #572fb2;
/* rgb */ color: rgb(87, 47, 178);
/* oklch */ color: oklch(43.9% 0.193 290.0);
Tailwind
colors: {
  custom: {
    50: '#8f6bca',
    500: '#572fb2',
    950: '#000000',
  },
}
SCSS
$custom: #572fb2;
$custom-light: #8f6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#572fb2",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 258.321,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.19279,
    "h": 290
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#572FB2
secondary
#AEC677
accent
#E146B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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