#471B4E#471B4E

#471B4E is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.2% C 0.100 H 322.0°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#471B4E
RGBrgb(71, 27, 78)
HSLhsl(292, 49%, 21%)
HSVhsv(292, 65%, 31%)
CMYKcmyk(9%, 65.4%, 0%, 69.4%)
CIE-LABlab(18.69, 29.55, -22.15)
CIE-LCHlch(18.69, 36.93, 323.14°)
OKLaboklab(31.16% 0.0787 -0.0616)
OKLCHoklch(31.16% 0.1 322)
XYZxyz(4.3655, 2.6737, 7.4924)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471B4E #224E1B
analogous
#2D1B4E #471B4E #4E1B3B
triadic
#471B4E #4E471B #1B4E47
tetradic
#471B4E #4E2D1B #224E1B #1B3B4E
square
#471B4E #4E2D1B #224E1B #1B3B4E
split-complementary
#471B4E #3B4E1B #1B4E2D
monochromatic
#150817 #1E0B21 #471B4E #702B7B #9A3AA9

Accessibility & contrast

On white

13.68
#471B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471B4E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471B4E#FFFFFF#000000##FFFFFF
##471B4E1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A50
Deuteranopia (green-blind)
#212F4D
Tritanopia (blue-blind)
#482331
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #471b4e;
/* rgb */ color: rgb(71, 27, 78);
/* oklch */ color: oklch(31.2% 0.100 322.0);
Tailwind
colors: {
  custom: {
    50: '#7c5a80',
    500: '#471b4e',
    950: '#000000',
  },
}
SCSS
$custom: #471b4e;
$custom-light: #7c5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#471b4e",
  "rgb": {
    "r": 71,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 291.765,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31159,
    "c": 0.09992,
    "h": 322
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#471B4E
secondary
#4A8441
accent
#D85062
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #471B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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