#471A42#471A42

#471A42 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.3% C 0.089 H 332.0°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#471A42
RGBrgb(71, 26, 66)
HSLhsl(307, 46%, 19%)
HSVhsv(307, 63%, 28%)
CMYKcmyk(0%, 63.4%, 7%, 72.2%)
CIE-LABlab(17.79, 27.56, -15.32)
CIE-LCHlch(17.79, 31.53, 330.93°)
OKLaboklab(30.28% 0.0788 -0.0418)
OKLCHoklch(30.28% 0.089 332)
XYZxyz(3.9513, 2.4720, 5.4222)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A42 #1A471F
analogous
#361A47 #471A42 #471A2C
triadic
#471A42 #42471A #1A4247
tetradic
#471A42 #47361A #1A471F #1A2C47
square
#471A42 #47361A #1A471F #1A2C47
split-complementary
#471A42 #2C471A #1A4736
monochromatic
#160815 #1A0A18 #471A42 #742A6C #A13B95

Accessibility & contrast

On white

14.05
#471A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#471A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A42
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A42#FFFFFF#000000##FFFFFF
##471A421.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182743
Deuteranopia (green-blind)
#262E41
Tritanopia (blue-blind)
#4A1E2B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #471a42;
/* rgb */ color: rgb(71, 26, 66);
/* oklch */ color: oklch(30.3% 0.089 332.0);
Tailwind
colors: {
  custom: {
    50: '#7c5976',
    500: '#471a42',
    950: '#000000',
  },
}
SCSS
$custom: #471a42;
$custom-light: #7c5976;
$custom-dark: #000000;
JSON
{
  "hex": "#471a42",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 306.667,
    "s": 46.392,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30278,
    "c": 0.08919,
    "h": 332
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#471A42
secondary
#407D47
accent
#D66052
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0408
muted
#7C797B

Preview Lab

Preview with #471A42

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

Preview Lab → · Contrast checker → · Palette generator →

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