#571988#571988

#571988 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.170 H 304.4°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#571988
RGBrgb(87, 25, 136)
HSLhsl(274, 69%, 32%)
HSVhsv(274, 82%, 53%)
CMYKcmyk(36%, 81.6%, 0%, 46.7%)
CIE-LABlab(25.26, 47.68, -49.17)
CIE-LCHlch(25.26, 68.49, 314.12°)
OKLaboklab(37.74% 0.096 -0.1402)
OKLCHoklch(37.74% 0.17 304.4)
XYZxyz(8.7210, 4.4991, 23.6967)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571988 #4A8819
analogous
#201988 #571988 #881982
triadic
#571988 #885719 #198857
tetradic
#571988 #882019 #4A8819 #198288
square
#571988 #882019 #4A8819 #198288
split-complementary
#571988 #828819 #198820
monochromatic
#150621 #360F54 #571988 #7823BC #9740DC

Accessibility & contrast

On white

11.05
#571988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#571988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571988
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571988#FFFFFF#000000##FFFFFF
##5719881.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#4D3751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #571988;
/* rgb */ color: rgb(87, 25, 136);
/* oklch */ color: oklch(37.7% 0.170 304.4);
Tailwind
colors: {
  custom: {
    50: '#8c5eac',
    500: '#571988',
    950: '#000000',
  },
}
SCSS
$custom: #571988;
$custom-light: #8c5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#571988",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 273.514,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37742,
    "c": 0.16993,
    "h": 304.4
  },
  "luminance": 0.04499
}

Semantic roles & 50–950 ramp

primary
#571988
secondary
#77BB41
accent
#EC3C8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #571988

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

Preview Lab → · Contrast checker → · Palette generator →

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