#571895#571895

#571895 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.184 H 300.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#571895
RGBrgb(87, 24, 149)
HSLhsl(270, 72%, 34%)
HSVhsv(270, 84%, 58%)
CMYKcmyk(41.6%, 83.9%, 0%, 41.6%)
CIE-LABlab(26.30, 51.17, -55.53)
CIE-LCHlch(26.30, 75.51, 312.66°)
OKLaboklab(38.83% 0.0927 -0.1588)
OKLCHoklch(38.83% 0.184 300.3)
XYZxyz(9.6806, 4.8493, 28.8539)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571895 #569518
analogous
#191895 #571895 #951895
triadic
#571895 #955718 #189557
tetradic
#571895 #951918 #569518 #189595
square
#571895 #951918 #569518 #189595
split-complementary
#571895 #959518 #189519
monochromatic
#19072C #381060 #571895 #7620CA #9446E1

Accessibility & contrast

On white

10.66
#571895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#571895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571895
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571895#FFFFFF#000000##FFFFFF
##5718951.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#483C58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #571895;
/* rgb */ color: rgb(87, 24, 149);
/* oklch */ color: oklch(38.8% 0.184 300.3);
Tailwind
colors: {
  custom: {
    50: '#8d5fb5',
    500: '#571895',
    950: '#000000',
  },
}
SCSS
$custom: #571895;
$custom-light: #8d5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#571895",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 270.24,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38826,
    "c": 0.18392,
    "h": 300.3
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#571895
secondary
#84C246
accent
#EF3993
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #571895

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

Preview Lab → · Contrast checker → · Palette generator →

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