#572087#572087

#572087 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.161 H 303.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#572087
RGBrgb(87, 32, 135)
HSLhsl(272, 62%, 33%)
HSVhsv(272, 76%, 53%)
CMYKcmyk(35.6%, 76.3%, 0%, 47.1%)
CIE-LABlab(26.18, 44.54, -47.04)
CIE-LCHlch(26.18, 64.78, 313.44°)
OKLaboklab(38.36% 0.09 -0.134)
OKLCHoklch(38.36% 0.161 303.9)
XYZxyz(8.8192, 4.8086, 23.3805)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572087 #508720
analogous
#232087 #572087 #872083
triadic
#572087 #875720 #208757
tetradic
#572087 #872320 #508720 #208387
square
#572087 #872320 #508720 #208387
split-complementary
#572087 #838720 #208723
monochromatic
#170924 #371456 #572087 #772CB8 #954DD5

Accessibility & contrast

On white

10.70
#572087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#572087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572087
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572087#FFFFFF#000000##FFFFFF
##5720871.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#4E3A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #572087;
/* rgb */ color: rgb(87, 32, 135);
/* oklch */ color: oklch(38.4% 0.161 303.9);
Tailwind
colors: {
  custom: {
    50: '#8b61ab',
    500: '#572087',
    950: '#000000',
  },
}
SCSS
$custom: #572087;
$custom-light: #8b61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#572087",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 272.039,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38364,
    "c": 0.16139,
    "h": 303.9
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#572087
secondary
#7EB84B
accent
#E5438E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572087

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

Preview Lab → · Contrast checker → · Palette generator →

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