#57207A#57207A

#57207A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.147 H 308.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#57207A
RGBrgb(87, 32, 122)
HSLhsl(277, 58%, 30%)
HSVhsv(277, 74%, 48%)
CMYKcmyk(28.7%, 73.8%, 0%, 52.2%)
CIE-LABlab(25.15, 41.37, -40.52)
CIE-LCHlch(25.15, 57.91, 315.60°)
OKLaboklab(37.31% 0.0924 -0.1148)
OKLCHoklch(37.31% 0.147 308.8)
XYZxyz(7.9591, 4.4645, 18.8510)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57207A #437A20
analogous
#2A207A #57207A #7A2070
triadic
#57207A #7A5720 #207A57
tetradic
#57207A #7A2A20 #437A20 #20707A
square
#57207A #7A2A20 #437A20 #20707A
split-complementary
#57207A #707A20 #207A2A
monochromatic
#120719 #34134A #57207A #7A2DAA #9946CE

Accessibility & contrast

On white

11.09
#57207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#57207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57207A
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57207A#FFFFFF#000000##FFFFFF
##57207A1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#0A3C78
Tritanopia (blue-blind)
#52344B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57207a;
/* rgb */ color: rgb(87, 32, 122);
/* oklch */ color: oklch(37.3% 0.147 308.8);
Tailwind
colors: {
  custom: {
    50: '#8a61a1',
    500: '#57207a',
    950: '#000000',
  },
}
SCSS
$custom: #57207a;
$custom-light: #8a61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#57207a",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 276.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3731,
    "c": 0.14739,
    "h": 308.8
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#57207A
secondary
#70AD49
accent
#E24683
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #57207A

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

Preview Lab → · Contrast checker → · Palette generator →

#57207A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva