#471E79#471E79

#471E79 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.145 H 299.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#471E79
RGBrgb(71, 30, 121)
HSLhsl(267, 60%, 30%)
HSVhsv(267, 75%, 47%)
CMYKcmyk(41.3%, 75.2%, 0%, 52.5%)
CIE-LABlab(22.47, 38.77, -44.33)
CIE-LCHlch(22.47, 58.90, 311.17°)
OKLaboklab(34.9% 0.0708 -0.1266)
OKLCHoklch(34.9% 0.145 299.2)
XYZxyz(6.5131, 3.6485, 18.4465)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471E79 #50791E
analogous
#1E2379 #471E79 #751E79
triadic
#471E79 #79471E #1E7947
tetradic
#471E79 #791E23 #50791E #1E7975
square
#471E79 #791E23 #50791E #1E7975
split-complementary
#471E79 #79751E #23791E
monochromatic
#0E0619 #2A1248 #471E79 #642AAA #8241D0

Accessibility & contrast

On white

12.14
#471E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471E79
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471E79#FFFFFF#000000##FFFFFF
##471E791.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#3B3549
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471e79;
/* rgb */ color: rgb(71, 30, 121);
/* oklch */ color: oklch(34.9% 0.145 299.2);
Tailwind
colors: {
  custom: {
    50: '#7f5ea0',
    500: '#471e79',
    950: '#000000',
  },
}
SCSS
$custom: #471e79;
$custom-light: #7f5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#471e79",
  "rgb": {
    "r": 71,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 267.033,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34898,
    "c": 0.14507,
    "h": 299.2
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#471E79
secondary
#7EAD46
accent
#E3449C
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471E79

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

Preview Lab → · Contrast checker → · Palette generator →

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