#471A4F#471A4F

#471A4F is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.103 H 321.3°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#471A4F
RGBrgb(71, 26, 79)
HSLhsl(291, 50%, 21%)
HSVhsv(291, 67%, 31%)
CMYKcmyk(10.1%, 67.1%, 0%, 69%)
CIE-LABlab(18.55, 30.31, -23.04)
CIE-LCHlch(18.55, 38.07, 322.76°)
OKLaboklab(31.08% 0.0802 -0.0641)
OKLCHoklch(31.08% 0.103 321.3)
XYZxyz(4.3791, 2.6431, 7.6751)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A4F #224F1A
analogous
#2C1A4F #471A4F #4F1A3C
triadic
#471A4F #4F471A #1A4F47
tetradic
#471A4F #4F2C1A #224F1A #1A3C4F
square
#471A4F #4F2C1A #224F1A #1A3C4F
split-complementary
#471A4F #3C4F1A #1A4F2C
monochromatic
#150817 #1E0B21 #471A4F #70297D #9A38AB

Accessibility & contrast

On white

13.74
#471A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#471A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A4F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A4F#FFFFFF#000000##FFFFFF
##471A4F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2A51
Deuteranopia (green-blind)
#202F4E
Tritanopia (blue-blind)
#482231
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #471a4f;
/* rgb */ color: rgb(71, 26, 79);
/* oklch */ color: oklch(31.1% 0.103 321.3);
Tailwind
colors: {
  custom: {
    50: '#7c5a80',
    500: '#471a4f',
    950: '#000000',
  },
}
SCSS
$custom: #471a4f;
$custom-light: #7c5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#471a4f",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 290.943,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31083,
    "c": 0.10269,
    "h": 321.3
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#471A4F
secondary
#4A8540
accent
#DA4E63
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #471A4F

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

Preview Lab → · Contrast checker → · Palette generator →

#471A4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva