#572C8B#572C8B

#572C8B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.151 H 300.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#572C8B
RGBrgb(87, 44, 139)
HSLhsl(267, 52%, 36%)
HSVhsv(267, 68%, 55%)
CMYKcmyk(37.4%, 68.3%, 0%, 45.5%)
CIE-LABlab(28.62, 39.63, -45.57)
CIE-LCHlch(28.62, 60.39, 311.01°)
OKLaboklab(40.2% 0.0764 -0.1297)
OKLCHoklch(40.2% 0.151 300.5)
XYZxyz(9.4902, 5.6916, 25.0197)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572C8B #608B2C
analogous
#2C308B #572C8B #862C8B
triadic
#572C8B #8B572C #2C8B57
tetradic
#572C8B #8B2C30 #608B2C #2C8B86
square
#572C8B #8B2C30 #608B2C #2C8B86
split-complementary
#572C8B #8B862C #308B2C
monochromatic
#1D0F2E #3A1D5D #572C8B #743BB9 #9464CE

Accessibility & contrast

On white

9.82
#572C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#572C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572C8B
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572C8B#FFFFFF#000000##FFFFFF
##572C8B1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#4C4257
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #572c8b;
/* rgb */ color: rgb(87, 44, 139);
/* oklch */ color: oklch(40.2% 0.151 300.5);
Tailwind
colors: {
  custom: {
    50: '#8b68ae',
    500: '#572c8b',
    950: '#000000',
  },
}
SCSS
$custom: #572c8b;
$custom-light: #8b68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#572c8b",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 267.158,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.402,
    "c": 0.15055,
    "h": 300.5
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#572C8B
secondary
#8DB45F
accent
#DB4C9B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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