#471151#471151

#471151 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.1% C 0.118 H 320.9°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#471151
RGBrgb(71, 17, 81)
HSLhsl(291, 65%, 19%)
HSVhsv(291, 79%, 32%)
CMYKcmyk(12.3%, 79%, 0%, 68.2%)
CIE-LABlab(17.15, 35.03, -26.63)
CIE-LCHlch(17.15, 44.01, 322.76°)
OKLaboklab(30.12% 0.0917 -0.0745)
OKLCHoklch(30.12% 0.118 320.9)
XYZxyz(4.2840, 2.3348, 8.0080)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471151 #1B5111
analogous
#271151 #471151 #51113B
triadic
#471151 #514711 #115147
tetradic
#471151 #512711 #1B5111 #113B51
square
#471151 #512711 #1B5111 #113B51
split-complementary
#471151 #3B5111 #115127
monochromatic
#160519 #1B061E #471151 #731C84 #A026B6

Accessibility & contrast

On white

14.31
#471151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#471151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471151
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471151#FFFFFF#000000##FFFFFF
##4711511.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#182C50
Tritanopia (blue-blind)
#481D30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #471151;
/* rgb */ color: rgb(71, 17, 81);
/* oklch */ color: oklch(30.1% 0.118 320.9);
Tailwind
colors: {
  custom: {
    50: '#7d5582',
    500: '#471151',
    950: '#000000',
  },
}
SCSS
$custom: #471151;
$custom-light: #7d5582;
$custom-dark: #000000;
JSON
{
  "hex": "#471151",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 290.625,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30119,
    "c": 0.11817,
    "h": 320.9
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#471151
secondary
#418A34
accent
#E8405A
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #471151

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

Preview Lab → · Contrast checker → · Palette generator →

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