#471172#471172

#471172 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.152 H 303.9°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#471172
RGBrgb(71, 17, 114)
HSLhsl(273, 74%, 26%)
HSVhsv(273, 85%, 45%)
CMYKcmyk(37.7%, 85.1%, 0%, 55.3%)
CIE-LABlab(19.86, 42.66, -44.10)
CIE-LCHlch(19.86, 61.36, 314.05°)
OKLaboklab(32.88% 0.0846 -0.1258)
OKLCHoklch(32.88% 0.152 303.9)
XYZxyz(5.8355, 2.9554, 16.1793)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471172 #3C7211
analogous
#161172 #471172 #72116C
triadic
#471172 #724711 #117247
tetradic
#471172 #721611 #3C7211 #116C72
square
#471172 #721611 #3C7211 #116C72
split-complementary
#471172 #6C7211 #117216
monochromatic
#11041B #26093D #471172 #6819A7 #8921DD

Accessibility & contrast

On white

13.20
#471172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471172
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471172#FFFFFF#000000##FFFFFF
##4711721.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#3E2C43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471172;
/* rgb */ color: rgb(71, 17, 114);
/* oklch */ color: oklch(32.9% 0.152 303.9);
Tailwind
colors: {
  custom: {
    50: '#7f579b',
    500: '#471172',
    950: '#000000',
  },
}
SCSS
$custom: #471172;
$custom-light: #7f579b;
$custom-dark: #000000;
JSON
{
  "hex": "#471172",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 273.402,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32875,
    "c": 0.15162,
    "h": 303.9
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#471172
secondary
#69A936
accent
#F13789
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #471172

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

Preview Lab → · Contrast checker → · Palette generator →

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