#571685#571685

#571685 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.170 H 305.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#571685
RGBrgb(87, 22, 133)
HSLhsl(275, 72%, 30%)
HSVhsv(275, 83%, 52%)
CMYKcmyk(34.6%, 83.5%, 0%, 47.8%)
CIE-LABlab(24.62, 48.07, -48.33)
CIE-LCHlch(24.62, 68.17, 314.85°)
OKLaboklab(37.22% 0.0993 -0.1377)
OKLCHoklch(37.22% 0.17 305.8)
XYZxyz(8.4501, 4.2936, 22.5693)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571685 #448516
analogous
#1F1685 #571685 #85167B
triadic
#571685 #855716 #168557
tetradic
#571685 #851F16 #448516 #167B85
square
#571685 #851F16 #448516 #167B85
split-complementary
#571685 #7B8516 #16851F
monochromatic
#12051C #350D50 #571685 #791FBA #9937DE

Accessibility & contrast

On white

11.30
#571685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#571685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571685
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571685#FFFFFF#000000##FFFFFF
##5716851.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#4E344F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #571685;
/* rgb */ color: rgb(87, 22, 133);
/* oklch */ color: oklch(37.2% 0.170 305.8);
Tailwind
colors: {
  custom: {
    50: '#8c5da9',
    500: '#571685',
    950: '#000000',
  },
}
SCSS
$custom: #571685;
$custom-light: #8c5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#571685",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 275.135,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37216,
    "c": 0.16977,
    "h": 305.8
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#571685
secondary
#71B93E
accent
#EE3984
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571685

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

Preview Lab → · Contrast checker → · Palette generator →

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