#471E7A#471E7A

#471E7A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.146 H 298.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#471E7A
RGBrgb(71, 30, 122)
HSLhsl(267, 61%, 30%)
HSVhsv(267, 75%, 48%)
CMYKcmyk(41.8%, 75.4%, 0%, 52.2%)
CIE-LABlab(22.56, 39.04, -44.83)
CIE-LCHlch(22.56, 59.45, 311.05°)
OKLaboklab(34.99% 0.0706 -0.1281)
OKLCHoklch(34.99% 0.146 298.9)
XYZxyz(6.5748, 3.6732, 18.7712)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E7A #517A1E
analogous
#1E237A #471E7A #751E7A
triadic
#471E7A #7A471E #1E7A47
tetradic
#471E7A #7A1E23 #517A1E #1E7A75
square
#471E7A #7A1E23 #517A1E #1E7A75
split-complementary
#471E7A #7A751E #237A1E
monochromatic
#0E0619 #2A1249 #471E7A #642AAB #8142D0

Accessibility & contrast

On white

12.11
#471E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#471E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E7A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E7A#FFFFFF#000000##FFFFFF
##471E7A1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#3B354A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471e7a;
/* rgb */ color: rgb(71, 30, 122);
/* oklch */ color: oklch(35.0% 0.146 298.9);
Tailwind
colors: {
  custom: {
    50: '#7f5ea1',
    500: '#471e7a',
    950: '#000000',
  },
}
SCSS
$custom: #471e7a;
$custom-light: #7f5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#471e7a",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 266.739,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34986,
    "c": 0.14624,
    "h": 298.9
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#471E7A
secondary
#80AE46
accent
#E4449D
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471E7A

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

Preview Lab → · Contrast checker → · Palette generator →

#471E7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva