#571689#571689

#571689 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.174 H 304.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#571689
RGBrgb(87, 22, 137)
HSLhsl(274, 72%, 31%)
HSVhsv(274, 84%, 54%)
CMYKcmyk(36.5%, 83.9%, 0%, 46.3%)
CIE-LABlab(24.97, 49.01, -50.26)
CIE-LCHlch(24.97, 70.20, 314.28°)
OKLaboklab(37.57% 0.0981 -0.1434)
OKLCHoklch(37.57% 0.174 304.4)
XYZxyz(8.7317, 4.4062, 24.0525)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571689 #488916
analogous
#1D1689 #571689 #891681
triadic
#571689 #895716 #168957
tetradic
#571689 #891D16 #488916 #168189
square
#571689 #891D16 #488916 #168189
split-complementary
#571689 #818916 #16891D
monochromatic
#140520 #360E54 #571689 #781EBE #973ADF

Accessibility & contrast

On white

11.16
#571689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#571689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571689
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571689#FFFFFF#000000##FFFFFF
##5716891.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#4D3651
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571689;
/* rgb */ color: rgb(87, 22, 137);
/* oklch */ color: oklch(37.6% 0.174 304.4);
Tailwind
colors: {
  custom: {
    50: '#8c5dac',
    500: '#571689',
    950: '#000000',
  },
}
SCSS
$custom: #571689;
$custom-light: #8c5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#571689",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 273.913,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3757,
    "c": 0.17371,
    "h": 304.4
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#571689
secondary
#75BD3E
accent
#EF3988
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #571689

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

Preview Lab → · Contrast checker → · Palette generator →

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