#572DCC#572DCC

#572DCC is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.224 H 285.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#572DCC
RGBrgb(87, 45, 204)
HSLhsl(256, 64%, 49%)
HSVhsv(256, 78%, 80%)
CMYKcmyk(57.4%, 77.9%, 0%, 20%)
CIE-LABlab(34.52, 56.95, -74.91)
CIE-LCHlch(34.52, 94.10, 307.25°)
OKLaboklab(46.12% 0.0606 -0.2158)
OKLCHoklch(46.12% 0.224 285.7)
XYZxyz(15.7647, 8.2617, 57.8790)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572DCC #A2CC2D
analogous
#2D53CC #572DCC #A72DCC
triadic
#572DCC #CC572D #2DCC57
tetradic
#572DCC #CC2D53 #A2CC2D #2DCCA7
square
#572DCC #CC2D53 #A2CC2D #2DCCA7
split-complementary
#572DCC #CCA72D #53CC2D
monochromatic
#2C1768 #42229A #572DCC #7D5BDB #A58DE6

Accessibility & contrast

On white

7.92
#572DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#572DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572DCC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572DCC#FFFFFF#000000##FFFFFF
##572DCC1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#195C7C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #572dcc;
/* rgb */ color: rgb(87, 45, 204);
/* oklch */ color: oklch(46.1% 0.224 285.7);
Tailwind
colors: {
  custom: {
    50: '#946cdd',
    500: '#572dcc',
    950: '#000000',
  },
}
SCSS
$custom: #572dcc;
$custom-light: #946cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#572dcc",
  "rgb": {
    "r": 87,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 255.849,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46123,
    "c": 0.22412,
    "h": 285.7
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#572DCC
secondary
#BCD085
accent
#E741BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #572DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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