#471171#471171

#471171 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.151 H 304.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#471171
RGBrgb(71, 17, 113)
HSLhsl(274, 74%, 25%)
HSVhsv(274, 85%, 44%)
CMYKcmyk(37.2%, 85%, 0%, 55.7%)
CIE-LABlab(19.77, 42.42, -43.60)
CIE-LCHlch(19.77, 60.83, 314.21°)
OKLaboklab(32.78% 0.0849 -0.1244)
OKLCHoklch(32.78% 0.151 304.3)
XYZxyz(5.7789, 2.9328, 15.8812)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471171 #3B7111
analogous
#171171 #471171 #71116B
triadic
#471171 #714711 #117147
tetradic
#471171 #711711 #3B7111 #116B71
square
#471171 #711711 #3B7111 #116B71
split-complementary
#471171 #6B7111 #117117
monochromatic
#11041B #26093C #471171 #6819A6 #8A21DB

Accessibility & contrast

On white

13.24
#471171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#471171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471171
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471171#FFFFFF#000000##FFFFFF
##4711711.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#3F2B42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471171;
/* rgb */ color: rgb(71, 17, 113);
/* oklch */ color: oklch(32.8% 0.151 304.3);
Tailwind
colors: {
  custom: {
    50: '#7f579b',
    500: '#471171',
    950: '#000000',
  },
}
SCSS
$custom: #471171;
$custom-light: #7f579b;
$custom-dark: #000000;
JSON
{
  "hex": "#471171",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 273.75,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32783,
    "c": 0.15059,
    "h": 304.3
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#471171
secondary
#68A836
accent
#F13788
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #471171

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

Preview Lab → · Contrast checker → · Palette generator →

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