#571FB4#571FB4

#571FB4 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.4% C 0.210 H 291.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#571FB4
RGBrgb(87, 31, 180)
HSLhsl(263, 71%, 41%)
HSVhsv(263, 83%, 71%)
CMYKcmyk(51.7%, 82.8%, 0%, 29.4%)
CIE-LABlab(30.16, 56.36, -67.96)
CIE-LCHlch(30.16, 88.29, 309.67°)
OKLaboklab(42.39% 0.0772 -0.1953)
OKLCHoklch(42.39% 0.21 291.6)
XYZxyz(12.6563, 6.3010, 43.7205)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571FB4 #7CB41F
analogous
#1F32B4 #571FB4 #A21FB4
triadic
#571FB4 #B4571F #1FB457
tetradic
#571FB4 #B41F32 #7CB41F #1FB4A2
square
#571FB4 #B41F32 #7CB41F #1FB4A2
split-complementary
#571FB4 #B4A21F #32B41F
monochromatic
#250D4C #3E1680 #571FB4 #7334DC #9768E5

Accessibility & contrast

On white

9.29
#571FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#571FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571FB4
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571FB4#FFFFFF#000000##FFFFFF
##571FB41.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#364C6C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #571fb4;
/* rgb */ color: rgb(87, 31, 180);
/* oklch */ color: oklch(42.4% 0.210 291.6);
Tailwind
colors: {
  custom: {
    50: '#9164cc',
    500: '#571fb4',
    950: '#000000',
  },
}
SCSS
$custom: #571fb4;
$custom-light: #9164cc;
$custom-dark: #000000;
JSON
{
  "hex": "#571fb4",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 262.55,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42392,
    "c": 0.21003,
    "h": 291.6
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#571FB4
secondary
#A4CB64
accent
#ED3AAA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #571FB4

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

Preview Lab → · Contrast checker → · Palette generator →

#571FB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva