#471E71#471E71

#471E71 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.136 H 302.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#471E71
RGBrgb(71, 30, 113)
HSLhsl(270, 58%, 28%)
HSVhsv(270, 73%, 44%)
CMYKcmyk(37.2%, 73.5%, 0%, 55.7%)
CIE-LABlab(21.80, 36.62, -40.30)
CIE-LCHlch(21.80, 54.45, 312.26°)
OKLaboklab(34.21% 0.0724 -0.1147)
OKLCHoklch(34.21% 0.136 302.3)
XYZxyz(6.0427, 3.4604, 15.9692)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E71 #48711E
analogous
#1E1E71 #471E71 #701E71
triadic
#471E71 #71471E #1E7147
tetradic
#471E71 #711E1E #48711E #1E7170
square
#471E71 #711E1E #48711E #1E7170
split-complementary
#471E71 #71701E #1E711E
monochromatic
#0F0618 #291141 #471E71 #652BA1 #843ECC

Accessibility & contrast

On white

12.41
#471E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#471E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471E71
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E71#FFFFFF#000000##FFFFFF
##471E711.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#3E3245
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471e71;
/* rgb */ color: rgb(71, 30, 113);
/* oklch */ color: oklch(34.2% 0.136 302.3);
Tailwind
colors: {
  custom: {
    50: '#7e5e9a',
    500: '#471e71',
    950: '#000000',
  },
}
SCSS
$custom: #471e71;
$custom-light: #7e5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#471e71",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 269.639,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3421,
    "c": 0.13569,
    "h": 302.3
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

primary
#471E71
secondary
#76A546
accent
#E14795
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471E71

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

Preview Lab → · Contrast checker → · Palette generator →

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