#571985#571985

#571985 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.167 H 305.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#571985
RGBrgb(87, 25, 133)
HSLhsl(274, 68%, 31%)
HSVhsv(274, 81%, 52%)
CMYKcmyk(34.6%, 81.2%, 0%, 47.8%)
CIE-LABlab(25.00, 46.97, -47.71)
CIE-LCHlch(25.00, 66.95, 314.55°)
OKLaboklab(37.48% 0.0969 -0.1359)
OKLCHoklch(37.48% 0.167 305.5)
XYZxyz(8.5108, 4.4150, 22.5896)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571985 #478519
analogous
#211985 #571985 #85197D
triadic
#571985 #855719 #198557
tetradic
#571985 #852119 #478519 #197D85
square
#571985 #852119 #478519 #197D85
split-complementary
#571985 #7D8519 #198521
monochromatic
#14061E #350F51 #571985 #7923B9 #983EDB

Accessibility & contrast

On white

11.15
#571985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571985
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571985#FFFFFF#000000##FFFFFF
##5719851.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#4E354F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571985;
/* rgb */ color: rgb(87, 25, 133);
/* oklch */ color: oklch(37.5% 0.167 305.5);
Tailwind
colors: {
  custom: {
    50: '#8b5ea9',
    500: '#571985',
    950: '#000000',
  },
}
SCSS
$custom: #571985;
$custom-light: #8b5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#571985",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 274.444,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.1669,
    "h": 305.5
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

primary
#571985
secondary
#74B941
accent
#EB3D87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571985

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

Preview Lab → · Contrast checker → · Palette generator →

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