#471561#471561

#471561 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.129 H 311.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#471561
RGBrgb(71, 21, 97)
HSLhsl(279, 64%, 23%)
HSVhsv(279, 78%, 38%)
CMYKcmyk(26.8%, 78.4%, 0%, 62%)
CIE-LABlab(18.97, 36.93, -34.44)
CIE-LCHlch(18.97, 50.50, 316.99°)
OKLaboklab(31.79% 0.0852 -0.0975)
OKLCHoklch(31.79% 0.129 311.2)
XYZxyz(5.0240, 2.7391, 11.5710)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471561 #2F6115
analogous
#211561 #471561 #611555
triadic
#471561 #614715 #156147
tetradic
#471561 #612115 #2F6115 #155561
square
#471561 #612115 #2F6115 #155561
split-complementary
#471561 #556115 #156121
monochromatic
#120519 #220A2F #471561 #6C2093 #912BC6

Accessibility & contrast

On white

13.57
#471561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#471561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471561
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471561#FFFFFF#000000##FFFFFF
##4715611.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C63
Deuteranopia (green-blind)
#082F5F
Tritanopia (blue-blind)
#44263A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #471561;
/* rgb */ color: rgb(71, 21, 97);
/* oklch */ color: oklch(31.8% 0.129 311.2);
Tailwind
colors: {
  custom: {
    50: '#7e588e',
    500: '#471561',
    950: '#000000',
  },
}
SCSS
$custom: #471561;
$custom-light: #7e588e;
$custom-dark: #000000;
JSON
{
  "hex": "#471561",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 279.474,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3179,
    "c": 0.12949,
    "h": 311.2
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#471561
secondary
#5A983A
accent
#E7407A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #471561

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

Preview Lab → · Contrast checker → · Palette generator →

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