#572C8D#572C8D

#572C8D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.153 H 299.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#572C8D
RGBrgb(87, 44, 141)
HSLhsl(267, 52%, 36%)
HSVhsv(267, 69%, 55%)
CMYKcmyk(38.3%, 68.8%, 0%, 44.7%)
CIE-LABlab(28.77, 40.16, -46.56)
CIE-LCHlch(28.77, 61.49, 310.78°)
OKLaboklab(40.36% 0.0762 -0.1326)
OKLCHoklch(40.36% 0.153 299.9)
XYZxyz(9.6377, 5.7506, 25.7964)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572C8D #628D2C
analogous
#2C328D #572C8D #882C8D
triadic
#572C8D #8D572C #2C8D57
tetradic
#572C8D #8D2C32 #628D2C #2C8D88
square
#572C8D #8D2C32 #628D2C #2C8D88
split-complementary
#572C8D #8D882C #328D2C
monochromatic
#1D0F30 #3A1D5E #572C8D #743BBC #9465CF

Accessibility & contrast

On white

9.77
#572C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#572C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572C8D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572C8D#FFFFFF#000000##FFFFFF
##572C8D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#4B4259
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #572c8d;
/* rgb */ color: rgb(87, 44, 141);
/* oklch */ color: oklch(40.4% 0.153 299.9);
Tailwind
colors: {
  custom: {
    50: '#8b68af',
    500: '#572c8d',
    950: '#000000',
  },
}
SCSS
$custom: #572c8d;
$custom-light: #8b68af;
$custom-dark: #000000;
JSON
{
  "hex": "#572c8d",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 266.598,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.15294,
    "h": 299.9
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#572C8D
secondary
#8FB560
accent
#DC4C9C
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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