#471871#471871

#471871 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.143 H 303.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#471871
RGBrgb(71, 24, 113)
HSLhsl(272, 65%, 27%)
HSVhsv(272, 79%, 44%)
CMYKcmyk(37.2%, 78.8%, 0%, 55.7%)
CIE-LABlab(20.77, 39.54, -41.97)
CIE-LCHlch(20.77, 57.66, 313.29°)
OKLaboklab(33.48% 0.0787 -0.1196)
OKLCHoklch(33.48% 0.143 303.3)
XYZxyz(5.9051, 3.1851, 15.9233)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471871 #427118
analogous
#1A1871 #471871 #71186F
triadic
#471871 #714718 #187147
tetradic
#471871 #711A18 #427118 #186F71
square
#471871 #711A18 #427118 #186F71
split-complementary
#471871 #6F7118 #18711A
monochromatic
#100519 #270D3F #471871 #6723A3 #8630D3

Accessibility & contrast

On white

12.83
#471871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#471871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471871
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471871#FFFFFF#000000##FFFFFF
##4718711.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#3E2F43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471871;
/* rgb */ color: rgb(71, 24, 113);
/* oklch */ color: oklch(33.5% 0.143 303.3);
Tailwind
colors: {
  custom: {
    50: '#7f5a9b',
    500: '#471871',
    950: '#000000',
  },
}
SCSS
$custom: #471871;
$custom-light: #7f5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#471871",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 271.685,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3348,
    "c": 0.14322,
    "h": 303.3
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#471871
secondary
#6FA63E
accent
#E8408F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471871

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

Preview Lab → · Contrast checker → · Palette generator →

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