#471156#471156

#471156 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.123 H 317.8°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#471156
RGBrgb(71, 17, 86)
HSLhsl(287, 67%, 20%)
HSVhsv(287, 80%, 34%)
CMYKcmyk(17.4%, 80.2%, 0%, 66.3%)
CIE-LABlab(17.52, 36.12, -29.43)
CIE-LCHlch(17.52, 46.59, 320.82°)
OKLaboklab(30.49% 0.0912 -0.0827)
OKLCHoklch(30.49% 0.123 317.8)
XYZxyz(4.4785, 2.4126, 9.0321)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471156 #205611
analogous
#251156 #471156 #561142
triadic
#471156 #564711 #115647
tetradic
#471156 #562511 #205611 #114256
square
#471156 #562511 #205611 #114256
split-complementary
#471156 #425611 #115625
monochromatic
#15051A #1D0723 #471156 #711B89 #9B25BC

Accessibility & contrast

On white

14.17
#471156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#471156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471156
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471156#FFFFFF#000000##FFFFFF
##4711561.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#142D54
Tritanopia (blue-blind)
#461F32
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #471156;
/* rgb */ color: rgb(71, 17, 86);
/* oklch */ color: oklch(30.5% 0.123 317.8);
Tailwind
colors: {
  custom: {
    50: '#7d5686',
    500: '#471156',
    950: '#000000',
  },
}
SCSS
$custom: #471156;
$custom-light: #7d5686;
$custom-dark: #000000;
JSON
{
  "hex": "#471156",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 286.957,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30494,
    "c": 0.12314,
    "h": 317.8
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#471156
secondary
#488F34
accent
#EA3E63
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #471156

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

Preview Lab → · Contrast checker → · Palette generator →

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