#471271#471271

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

Color values

HEX#471271
RGBrgb(71, 18, 113)
HSLhsl(273, 73%, 26%)
HSVhsv(273, 84%, 44%)
CMYKcmyk(37.2%, 84.1%, 0%, 55.7%)
CIE-LABlab(19.90, 42.04, -43.39)
CIE-LCHlch(19.90, 60.42, 314.10°)
OKLaboklab(32.87% 0.0841 -0.1237)
OKLCHoklch(32.87% 0.15 304.2)
XYZxyz(5.7948, 2.9645, 15.8865)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471271 #3C7112
analogous
#181271 #471271 #71126B
triadic
#471271 #714712 #127147
tetradic
#471271 #711812 #3C7112 #126B71
square
#471271 #711812 #3C7112 #126B71
split-complementary
#471271 #6B7112 #127118
monochromatic
#11041A #260A3C #471271 #681AA6 #8923DB

Accessibility & contrast

On white

13.18
#471271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471271
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471271#FFFFFF#000000##FFFFFF
##4712711.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471271;
/* rgb */ color: rgb(71, 18, 113);
/* oklch */ color: oklch(32.9% 0.150 304.2);
Tailwind
colors: {
  custom: {
    50: '#7f589b',
    500: '#471271',
    950: '#000000',
  },
}
SCSS
$custom: #471271;
$custom-light: #7f589b;
$custom-dark: #000000;
JSON
{
  "hex": "#471271",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 273.474,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32872,
    "c": 0.14963,
    "h": 304.2
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#471271
secondary
#69A837
accent
#EF3989
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471271

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

Preview Lab → · Contrast checker → · Palette generator →

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