#572D9C#572D9C

#572D9C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.169 H 295.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#572D9C
RGBrgb(87, 45, 156)
HSLhsl(263, 55%, 39%)
HSVhsv(263, 71%, 61%)
CMYKcmyk(44.2%, 71.2%, 0%, 38.8%)
CIE-LABlab(30.16, 43.70, -53.50)
CIE-LCHlch(30.16, 69.08, 309.24°)
OKLaboklab(41.73% 0.0726 -0.153)
OKLCHoklch(41.73% 0.169 295.4)
XYZxyz(10.8680, 6.3030, 32.0900)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572D9C #729C2D
analogous
#2D3A9C #572D9C #8F2D9C
triadic
#572D9C #9C572D #2D9C57
tetradic
#572D9C #9C2D3A #729C2D #2D9C8F
square
#572D9C #9C2D3A #729C2D #2D9C8F
split-complementary
#572D9C #9C8F2D #3A9C2D
monochromatic
#22123D #3D1F6D #572D9C #723FC8 #956ED5

Accessibility & contrast

On white

9.29
#572D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#572D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572D9C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572D9C#FFFFFF#000000##FFFFFF
##572D9C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#444961
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #572d9c;
/* rgb */ color: rgb(87, 45, 156);
/* oklch */ color: oklch(41.7% 0.169 295.4);
Tailwind
colors: {
  custom: {
    50: '#8d69ba',
    500: '#572d9c',
    950: '#000000',
  },
}
SCSS
$custom: #572d9c;
$custom-light: #8d69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#572d9c",
  "rgb": {
    "r": 87,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 262.703,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.16941,
    "h": 295.4
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#572D9C
secondary
#9DBC68
accent
#DF49A6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #572D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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