#572689#572689

#572689 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.156 H 302.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#572689
RGBrgb(87, 38, 137)
HSLhsl(270, 57%, 34%)
HSVhsv(270, 72%, 54%)
CMYKcmyk(36.5%, 72.3%, 0%, 46.3%)
CIE-LABlab(27.35, 42.21, -46.39)
CIE-LCHlch(27.35, 62.72, 312.30°)
OKLaboklab(39.24% 0.0834 -0.1321)
OKLCHoklch(39.24% 0.156 302.3)
XYZxyz(9.1379, 5.2186, 24.1879)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572689 #588926
analogous
#262789 #572689 #892689
triadic
#572689 #895726 #268957
tetradic
#572689 #892627 #588926 #268989
square
#572689 #892627 #588926 #268989
split-complementary
#572689 #898926 #278926
monochromatic
#1A0B29 #391959 #572689 #7533B9 #9459D1

Accessibility & contrast

On white

10.27
#572689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#572689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572689
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572689#FFFFFF#000000##FFFFFF
##5726891.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#4D3E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572689;
/* rgb */ color: rgb(87, 38, 137);
/* oklch */ color: oklch(39.2% 0.156 302.3);
Tailwind
colors: {
  custom: {
    50: '#8b65ac',
    500: '#572689',
    950: '#000000',
  },
}
SCSS
$custom: #572689;
$custom-light: #8b65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#572689",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 269.697,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.15623,
    "h": 302.3
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#572689
secondary
#86B655
accent
#E04895
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572689

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

Preview Lab → · Contrast checker → · Palette generator →

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