#572287#572287

#572287 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.159 H 303.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#572287
RGBrgb(87, 34, 135)
HSLhsl(271, 60%, 33%)
HSVhsv(271, 75%, 53%)
CMYKcmyk(35.6%, 74.8%, 0%, 47.1%)
CIE-LABlab(26.50, 43.63, -46.51)
CIE-LCHlch(26.50, 63.77, 313.17°)
OKLaboklab(38.59% 0.088 -0.1324)
OKLCHoklch(38.59% 0.159 303.6)
XYZxyz(8.8747, 4.9196, 23.3990)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572287 #528722
analogous
#242287 #572287 #872284
triadic
#572287 #875722 #228757
tetradic
#572287 #872422 #528722 #228487
square
#572287 #872422 #528722 #228487
split-complementary
#572287 #848722 #228724
monochromatic
#180925 #371656 #572287 #772EB8 #9550D3

Accessibility & contrast

On white

10.58
#572287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#572287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572287
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572287#FFFFFF#000000##FFFFFF
##5722871.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#4D3B52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #572287;
/* rgb */ color: rgb(87, 34, 135);
/* oklch */ color: oklch(38.6% 0.159 303.6);
Tailwind
colors: {
  custom: {
    50: '#8b62ab',
    500: '#572287',
    950: '#000000',
  },
}
SCSS
$custom: #572287;
$custom-light: #8b62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#572287",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 271.485,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38592,
    "c": 0.15901,
    "h": 303.6
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#572287
secondary
#80B74E
accent
#E34590
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572287

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

Preview Lab → · Contrast checker → · Palette generator →

#572287 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva