#471D7A#471D7A

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

Color values

HEX#471D7A
RGBrgb(71, 29, 122)
HSLhsl(267, 62%, 30%)
HSVhsv(267, 76%, 48%)
CMYKcmyk(41.8%, 76.2%, 0%, 52.2%)
CIE-LABlab(22.39, 39.54, -45.11)
CIE-LCHlch(22.39, 59.99, 311.23°)
OKLaboklab(34.86% 0.0716 -0.1289)
OKLCHoklch(34.86% 0.147 299.1)
XYZxyz(6.5499, 3.6234, 18.7629)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D7A #507A1D
analogous
#1D227A #471D7A #761D7A
triadic
#471D7A #7A471D #1D7A47
tetradic
#471D7A #7A1D22 #507A1D #1D7A76
square
#471D7A #7A1D22 #507A1D #1D7A76
split-complementary
#471D7A #7A761D #227A1D
monochromatic
#0E0619 #2A1149 #471D7A #6429AB #8240D2

Accessibility & contrast

On white

12.18
#471D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471D7A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D7A#FFFFFF#000000##FFFFFF
##471D7A1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471d7a;
/* rgb */ color: rgb(71, 29, 122);
/* oklch */ color: oklch(34.9% 0.147 299.1);
Tailwind
colors: {
  custom: {
    50: '#7f5da1',
    500: '#471d7a',
    950: '#000000',
  },
}
SCSS
$custom: #471d7a;
$custom-light: #7f5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#471d7a",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 267.097,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34862,
    "c": 0.14745,
    "h": 299.1
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#471D7A
secondary
#7EAE45
accent
#E5439C
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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