#572277#572277

#572277 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.141 H 309.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#572277
RGBrgb(87, 34, 119)
HSLhsl(277, 56%, 30%)
HSVhsv(277, 71%, 47%)
CMYKcmyk(26.9%, 71.4%, 0%, 53.3%)
CIE-LABlab(25.27, 39.70, -38.42)
CIE-LCHlch(25.27, 55.25, 315.93°)
OKLaboklab(37.32% 0.0906 -0.1087)
OKLCHoklch(37.32% 0.141 309.8)
XYZxyz(7.8316, 4.5024, 17.9057)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572277 #427722
analogous
#2D2277 #572277 #77226C
triadic
#572277 #775722 #227757
tetradic
#572277 #772D22 #427722 #226C77
square
#572277 #772D22 #427722 #226C77
split-complementary
#572277 #6C7722 #22772D
monochromatic
#110718 #341447 #572277 #7A30A7 #9A49CB

Accessibility & contrast

On white

11.05
#572277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#572277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572277
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572277#FFFFFF#000000##FFFFFF
##5722771.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#133D75
Tritanopia (blue-blind)
#53344A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #572277;
/* rgb */ color: rgb(87, 34, 119);
/* oklch */ color: oklch(37.3% 0.141 309.8);
Tailwind
colors: {
  custom: {
    50: '#8a629f',
    500: '#572277',
    950: '#000000',
  },
}
SCSS
$custom: #572277;
$custom-light: #8a629f;
$custom-dark: #000000;
JSON
{
  "hex": "#572277",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 277.412,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.37321,
    "c": 0.14146,
    "h": 309.8
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#572277
secondary
#6FAA4B
accent
#DF4981
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #572277

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

Preview Lab → · Contrast checker → · Palette generator →

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