#471A73#471A73

#471A73 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.143 H 302.2°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#471A73
RGBrgb(71, 26, 115)
HSLhsl(270, 63%, 28%)
HSVhsv(270, 77%, 45%)
CMYKcmyk(38.3%, 77.4%, 0%, 54.9%)
CIE-LABlab(21.27, 39.13, -42.45)
CIE-LCHlch(21.27, 57.73, 312.67°)
OKLaboklab(33.89% 0.0763 -0.1211)
OKLCHoklch(33.89% 0.143 302.2)
XYZxyz(6.0617, 3.3162, 16.5371)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A73 #46731A
analogous
#1A1A73 #471A73 #731A73
triadic
#471A73 #73471A #1A7347
tetradic
#471A73 #731A1A #46731A #1A7373
square
#471A73 #731A1A #46731A #1A7373
split-complementary
#471A73 #73731A #1A731A
monochromatic
#0F0619 #280F41 #471A73 #6625A5 #8536D2

Accessibility & contrast

On white

12.63
#471A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#471A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A73
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A73#FFFFFF#000000##FFFFFF
##471A731.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#3E3045
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471a73;
/* rgb */ color: rgb(71, 26, 115);
/* oklch */ color: oklch(33.9% 0.143 302.2);
Tailwind
colors: {
  custom: {
    50: '#7f5b9c',
    500: '#471a73',
    950: '#000000',
  },
}
SCSS
$custom: #471a73;
$custom-light: #7f5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#471a73",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 270.337,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33885,
    "c": 0.14307,
    "h": 302.2
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#471A73
secondary
#74A841
accent
#E64293
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471A73

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

Preview Lab → · Contrast checker → · Palette generator →

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