#471040#471040

#471040 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.104 H 333.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#471040
RGBrgb(71, 16, 64)
HSLhsl(308, 63%, 17%)
HSVhsv(308, 77%, 28%)
CMYKcmyk(0%, 77.5%, 9.9%, 72.2%)
CIE-LABlab(15.90, 32.08, -16.88)
CIE-LCHlch(15.90, 36.25, 332.25°)
OKLaboklab(28.87% 0.0927 -0.0462)
OKLCHoklch(28.87% 0.104 333.5)
XYZxyz(3.7093, 2.0806, 5.0557)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471040 #104717
analogous
#331047 #471040 #471025
triadic
#471040 #404710 #104047
tetradic
#471040 #473310 #104717 #102547
square
#471040 #473310 #104717 #102547
split-complementary
#471040 #254710 #104733
monochromatic
#190617 #190617 #471040 #791B6D #AB279A

Accessibility & contrast

On white

14.83
#471040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471040
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471040#FFFFFF#000000##FFFFFF
##4710401.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2241
Deuteranopia (green-blind)
#222A3F
Tritanopia (blue-blind)
#4B1526
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #471040;
/* rgb */ color: rgb(71, 16, 64);
/* oklch */ color: oklch(28.9% 0.104 333.5);
Tailwind
colors: {
  custom: {
    50: '#7d5475',
    500: '#471040',
    950: '#000000',
  },
}
SCSS
$custom: #471040;
$custom-light: #7d5475;
$custom-dark: #000000;
JSON
{
  "hex": "#471040",
  "rgb": {
    "r": 71,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 307.636,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28867,
    "c": 0.10362,
    "h": 333.5
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#471040
secondary
#32813C
accent
#E65742
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #471040

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

Preview Lab → · Contrast checker → · Palette generator →

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