#572DB2#572DB2

#572DB2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.195 H 290.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#572DB2
RGBrgb(87, 45, 178)
HSLhsl(259, 60%, 44%)
HSVhsv(259, 75%, 70%)
CMYKcmyk(51.1%, 74.7%, 0%, 30.2%)
CIE-LABlab(32.07, 49.76, -63.63)
CIE-LCHlch(32.07, 80.78, 308.03°)
OKLaboklab(43.67% 0.0678 -0.1828)
OKLCHoklch(43.67% 0.195 290.3)
XYZxyz(12.9024, 7.1168, 42.8047)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572DB2 #88B22D
analogous
#2D46B2 #572DB2 #992DB2
triadic
#572DB2 #B2572D #2DB257
tetradic
#572DB2 #B22D46 #88B22D #2DB299
square
#572DB2 #B22D46 #88B22D #2DB299
split-complementary
#572DB2 #B2992D #46B22D
monochromatic
#271450 #3F2181 #572DB2 #754BD1 #9B7CDE

Accessibility & contrast

On white

8.67
#572DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#572DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572DB2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572DB2#FFFFFF#000000##FFFFFF
##572DB21.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#37516D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #572db2;
/* rgb */ color: rgb(87, 45, 178);
/* oklch */ color: oklch(43.7% 0.195 290.3);
Tailwind
colors: {
  custom: {
    50: '#906aca',
    500: '#572db2',
    950: '#000000',
  },
}
SCSS
$custom: #572db2;
$custom-light: #906aca;
$custom-dark: #000000;
JSON
{
  "hex": "#572db2",
  "rgb": {
    "r": 87,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 258.947,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43666,
    "c": 0.19494,
    "h": 290.3
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#572DB2
secondary
#ACC675
accent
#E345B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #572DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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