#571982#571982

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

Color values

HEX#571982
RGBrgb(87, 25, 130)
HSLhsl(275, 68%, 30%)
HSVhsv(275, 81%, 51%)
CMYKcmyk(33.1%, 80.8%, 0%, 49%)
CIE-LABlab(24.74, 46.27, -46.24)
CIE-LCHlch(24.74, 65.41, 315.02°)
OKLaboklab(37.22% 0.0977 -0.1316)
OKLCHoklch(37.22% 0.164 306.6)
XYZxyz(8.3065, 4.3333, 21.5136)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571982 #448219
analogous
#231982 #571982 #821978
triadic
#571982 #825719 #198257
tetradic
#571982 #822319 #448219 #197882
square
#571982 #822319 #448219 #197882
split-complementary
#571982 #788219 #198223
monochromatic
#12051B #350F4F #571982 #7923B5 #993CD9

Accessibility & contrast

On white

11.25
#571982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#571982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571982
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571982#FFFFFF#000000##FFFFFF
##5719821.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#4F344D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #571982;
/* rgb */ color: rgb(87, 25, 130);
/* oklch */ color: oklch(37.2% 0.164 306.6);
Tailwind
colors: {
  custom: {
    50: '#8b5ea7',
    500: '#571982',
    950: '#000000',
  },
}
SCSS
$custom: #571982;
$custom-light: #8b5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#571982",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 275.429,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37224,
    "c": 0.16387,
    "h": 306.6
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#571982
secondary
#71B641
accent
#EB3D84
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #571982

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

Preview Lab → · Contrast checker → · Palette generator →

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