#471256#471256

#471256 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.122 H 317.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#471256
RGBrgb(71, 18, 86)
HSLhsl(287, 65%, 20%)
HSVhsv(287, 79%, 34%)
CMYKcmyk(17.4%, 79.1%, 0%, 66.3%)
CIE-LABlab(17.66, 35.70, -29.20)
CIE-LCHlch(17.66, 46.12, 320.72°)
OKLaboklab(30.6% 0.0901 -0.0821)
OKLCHoklch(30.6% 0.122 317.7)
XYZxyz(4.4943, 2.4443, 9.0374)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471256 #215612
analogous
#251256 #471256 #561243
triadic
#471256 #564712 #125647
tetradic
#471256 #562512 #215612 #124356
square
#471256 #562512 #215612 #124356
split-complementary
#471256 #435612 #125625
monochromatic
#150519 #1D0723 #471256 #711D89 #9B27BB

Accessibility & contrast

On white

14.11
#471256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#471256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471256
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471256#FFFFFF#000000##FFFFFF
##4712561.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471256;
/* rgb */ color: rgb(71, 18, 86);
/* oklch */ color: oklch(30.6% 0.122 317.7);
Tailwind
colors: {
  custom: {
    50: '#7d5686',
    500: '#471256',
    950: '#000000',
  },
}
SCSS
$custom: #471256;
$custom-light: #7d5686;
$custom-dark: #000000;
JSON
{
  "hex": "#471256",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 286.765,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30598,
    "c": 0.12187,
    "h": 317.7
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#471256
secondary
#498F35
accent
#E83F65
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #471256

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

Preview Lab → · Contrast checker → · Palette generator →

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