#57207E#57207E

#57207E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.152 H 307.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#57207E
RGBrgb(87, 32, 126)
HSLhsl(275, 59%, 31%)
HSVhsv(275, 75%, 49%)
CMYKcmyk(31%, 74.6%, 0%, 50.6%)
CIE-LABlab(25.46, 42.34, -42.55)
CIE-LCHlch(25.46, 60.03, 314.85°)
OKLaboklab(37.63% 0.0918 -0.1208)
OKLCHoklch(37.63% 0.152 307.2)
XYZxyz(8.2121, 4.5657, 20.1833)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57207E #477E20
analogous
#28207E #57207E #7E2076
triadic
#57207E #7E5720 #207E57
tetradic
#57207E #7E2820 #477E20 #20767E
square
#57207E #7E2820 #477E20 #20767E
split-complementary
#57207E #767E20 #207E28
monochromatic
#14071C #35144D #57207E #792CAF #9848D0

Accessibility & contrast

On white

10.98
#57207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#57207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57207E
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57207E#FFFFFF#000000##FFFFFF
##57207E1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#51364D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57207e;
/* rgb */ color: rgb(87, 32, 126);
/* oklch */ color: oklch(37.6% 0.152 307.2);
Tailwind
colors: {
  custom: {
    50: '#8a61a4',
    500: '#57207e',
    950: '#000000',
  },
}
SCSS
$custom: #57207e;
$custom-light: #8a61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#57207e",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 275.106,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37626,
    "c": 0.1517,
    "h": 307.2
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#57207E
secondary
#74B149
accent
#E34586
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #57207E

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

Preview Lab → · Contrast checker → · Palette generator →

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