#471D79#471D79

#471D79 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.146 H 299.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#471D79
RGBrgb(71, 29, 121)
HSLhsl(267, 61%, 29%)
HSVhsv(267, 76%, 47%)
CMYKcmyk(41.3%, 76%, 0%, 52.5%)
CIE-LABlab(22.30, 39.27, -44.62)
CIE-LCHlch(22.30, 59.44, 311.35°)
OKLaboklab(34.77% 0.0718 -0.1274)
OKLCHoklch(34.77% 0.146 299.4)
XYZxyz(6.4882, 3.5987, 18.4382)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D79 #4F791D
analogous
#1D2179 #471D79 #751D79
triadic
#471D79 #79471D #1D7947
tetradic
#471D79 #791D21 #4F791D #1D7975
square
#471D79 #791D21 #4F791D #1D7975
split-complementary
#471D79 #79751D #21791D
monochromatic
#0E0619 #2A1148 #471D79 #6429AA #823FD1

Accessibility & contrast

On white

12.21
#471D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#471D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D79
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D79#FFFFFF#000000##FFFFFF
##471D791.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#3B3449
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #471d79;
/* rgb */ color: rgb(71, 29, 121);
/* oklch */ color: oklch(34.8% 0.146 299.4);
Tailwind
colors: {
  custom: {
    50: '#7f5da0',
    500: '#471d79',
    950: '#000000',
  },
}
SCSS
$custom: #471d79;
$custom-light: #7f5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#471d79",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 267.391,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34774,
    "c": 0.14629,
    "h": 299.4
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#471D79
secondary
#7DAD45
accent
#E4439B
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471D79

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

Preview Lab → · Contrast checker → · Palette generator →

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