#572989#572989

#572989 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.152 H 301.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#572989
RGBrgb(87, 41, 137)
HSLhsl(269, 54%, 35%)
HSVhsv(269, 70%, 54%)
CMYKcmyk(36.5%, 70.1%, 0%, 46.3%)
CIE-LABlab(27.89, 40.69, -45.50)
CIE-LCHlch(27.89, 61.04, 311.80°)
OKLaboklab(39.63% 0.0801 -0.1295)
OKLCHoklch(39.63% 0.152 301.7)
XYZxyz(9.2377, 5.4182, 24.2212)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572989 #5B8929
analogous
#292B89 #572989 #872989
triadic
#572989 #895729 #298957
tetradic
#572989 #89292B #5B8929 #298987
square
#572989 #89292B #5B8929 #298987
split-complementary
#572989 #898729 #2B8929
monochromatic
#1B0D2B #391B5A #572989 #7537B8 #945ECF

Accessibility & contrast

On white

10.08
#572989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#572989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572989
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572989#FFFFFF#000000##FFFFFF
##5729891.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#4C3F55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #572989;
/* rgb */ color: rgb(87, 41, 137);
/* oklch */ color: oklch(39.6% 0.152 301.7);
Tailwind
colors: {
  custom: {
    50: '#8b66ac',
    500: '#572989',
    950: '#000000',
  },
}
SCSS
$custom: #572989;
$custom-light: #8b66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#572989",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 268.75,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.15229,
    "h": 301.7
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#572989
secondary
#89B45A
accent
#DD4A97
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572989

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

Preview Lab → · Contrast checker → · Palette generator →

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