#471671#471671

#471671 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.145 H 303.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#471671
RGBrgb(71, 22, 113)
HSLhsl(272, 67%, 26%)
HSVhsv(272, 81%, 44%)
CMYKcmyk(37.2%, 80.5%, 0%, 55.7%)
CIE-LABlab(20.46, 40.42, -42.48)
CIE-LCHlch(20.46, 58.63, 313.58°)
OKLaboklab(33.26% 0.0806 -0.1211)
OKLCHoklch(33.26% 0.145 303.7)
XYZxyz(5.8654, 3.1057, 15.9100)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471671 #407116
analogous
#1A1671 #471671 #71166E
triadic
#471671 #714716 #167147
tetradic
#471671 #711A16 #407116 #166E71
square
#471671 #711A16 #407116 #166E71
split-complementary
#471671 #6E7116 #16711A
monochromatic
#10051A #270C3E #471671 #6720A4 #872CD6

Accessibility & contrast

On white

12.95
#471671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#471671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471671
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471671#FFFFFF#000000##FFFFFF
##4716711.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#3F2E43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471671;
/* rgb */ color: rgb(71, 22, 113);
/* oklch */ color: oklch(33.3% 0.145 303.7);
Tailwind
colors: {
  custom: {
    50: '#7f599b',
    500: '#471671',
    950: '#000000',
  },
}
SCSS
$custom: #471671;
$custom-light: #7f599b;
$custom-dark: #000000;
JSON
{
  "hex": "#471671",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 272.308,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33264,
    "c": 0.14549,
    "h": 303.7
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#471671
secondary
#6DA73C
accent
#EA3E8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471671

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

Preview Lab → · Contrast checker → · Palette generator →

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