#572C8A#572C8A

#572C8A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.149 H 300.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#572C8A
RGBrgb(87, 44, 138)
HSLhsl(267, 52%, 36%)
HSVhsv(267, 68%, 54%)
CMYKcmyk(37%, 68.1%, 0%, 45.9%)
CIE-LABlab(28.54, 39.37, -45.07)
CIE-LCHlch(28.54, 59.84, 311.13°)
OKLaboklab(40.12% 0.0765 -0.1283)
OKLCHoklch(40.12% 0.149 300.8)
XYZxyz(9.4175, 5.6625, 24.6367)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572C8A #5F8A2C
analogous
#2C308A #572C8A #862C8A
triadic
#572C8A #8A572C #2C8A57
tetradic
#572C8A #8A2C30 #5F8A2C #2C8A86
square
#572C8A #8A2C30 #5F8A2C #2C8A86
split-complementary
#572C8A #8A862C #308A2C
monochromatic
#1C0E2D #3A1D5C #572C8A #743BB8 #9463CD

Accessibility & contrast

On white

9.85
#572C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#572C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572C8A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572C8A#FFFFFF#000000##FFFFFF
##572C8A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#4C4157
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #572c8a;
/* rgb */ color: rgb(87, 44, 138);
/* oklch */ color: oklch(40.1% 0.149 300.8);
Tailwind
colors: {
  custom: {
    50: '#8b68ad',
    500: '#572c8a',
    950: '#000000',
  },
}
SCSS
$custom: #572c8a;
$custom-light: #8b68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#572c8a",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 267.447,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40121,
    "c": 0.14936,
    "h": 300.8
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#572C8A
secondary
#8DB45E
accent
#DB4D9A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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