#572080#572080

#572080 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.154 H 306.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#572080
RGBrgb(87, 32, 128)
HSLhsl(274, 60%, 31%)
HSVhsv(274, 75%, 50%)
CMYKcmyk(32%, 75%, 0%, 49.8%)
CIE-LABlab(25.62, 42.82, -43.56)
CIE-LCHlch(25.62, 61.08, 314.51°)
OKLaboklab(37.79% 0.0914 -0.1237)
OKLCHoklch(37.79% 0.154 306.5)
XYZxyz(8.3424, 4.6179, 20.8697)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572080 #498020
analogous
#272080 #572080 #802079
triadic
#572080 #805720 #208057
tetradic
#572080 #802720 #498020 #207980
square
#572080 #802720 #498020 #207980
split-complementary
#572080 #798020 #208027
monochromatic
#14081E #36144F #572080 #782CB1 #9749D1

Accessibility & contrast

On white

10.92
#572080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#572080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572080
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572080#FFFFFF#000000##FFFFFF
##5720801.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#50374E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #572080;
/* rgb */ color: rgb(87, 32, 128);
/* oklch */ color: oklch(37.8% 0.154 306.5);
Tailwind
colors: {
  custom: {
    50: '#8b61a6',
    500: '#572080',
    950: '#000000',
  },
}
SCSS
$custom: #572080;
$custom-light: #8b61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#572080",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 274.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37787,
    "c": 0.15386,
    "h": 306.5
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#572080
secondary
#76B349
accent
#E34588
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #572080

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

Preview Lab → · Contrast checker → · Palette generator →

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