#471042#471042

#471042 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.105 H 331.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#471042
RGBrgb(71, 16, 66)
HSLhsl(305, 63%, 17%)
HSVhsv(305, 77%, 28%)
CMYKcmyk(0%, 77.5%, 7%, 72.2%)
CIE-LABlab(16.02, 32.45, -18.09)
CIE-LCHlch(16.02, 37.15, 330.86°)
OKLaboklab(28.99% 0.0929 -0.0497)
OKLCHoklch(28.99% 0.105 331.9)
XYZxyz(3.7672, 2.1038, 5.3609)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471042 #104715
analogous
#311047 #471042 #471027
triadic
#471042 #424710 #104247
tetradic
#471042 #473110 #104715 #102747
square
#471042 #473110 #104715 #102747
split-complementary
#471042 #274710 #104731
monochromatic
#190617 #190617 #471042 #791B70 #AB279F

Accessibility & contrast

On white

14.78
#471042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#471042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471042
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471042#FFFFFF#000000##FFFFFF
##4710421.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2343
Deuteranopia (green-blind)
#212B41
Tritanopia (blue-blind)
#4A1627
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #471042;
/* rgb */ color: rgb(71, 16, 66);
/* oklch */ color: oklch(29.0% 0.105 331.9);
Tailwind
colors: {
  custom: {
    50: '#7d5476',
    500: '#471042',
    950: '#000000',
  },
}
SCSS
$custom: #471042;
$custom-light: #7d5476;
$custom-dark: #000000;
JSON
{
  "hex": "#471042",
  "rgb": {
    "r": 71,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 305.455,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2899,
    "c": 0.10538,
    "h": 331.9
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#471042
secondary
#328139
accent
#E65142
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #471042

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

Preview Lab → · Contrast checker → · Palette generator →

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