#471A74#471A74

#471A74 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.144 H 301.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#471A74
RGBrgb(71, 26, 116)
HSLhsl(270, 63%, 28%)
HSVhsv(270, 78%, 45%)
CMYKcmyk(38.8%, 77.6%, 0%, 54.5%)
CIE-LABlab(21.35, 39.39, -42.95)
CIE-LCHlch(21.35, 58.28, 312.52°)
OKLaboklab(33.97% 0.076 -0.1225)
OKLCHoklch(33.97% 0.144 301.8)
XYZxyz(6.1196, 3.3393, 16.8418)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A74 #47741A
analogous
#1A1A74 #471A74 #741A74
triadic
#471A74 #74471A #1A7447
tetradic
#471A74 #741A1A #47741A #1A7474
square
#471A74 #741A1A #47741A #1A7474
split-complementary
#471A74 #74741A #1A741A
monochromatic
#0F0619 #280F42 #471A74 #6625A6 #8436D2

Accessibility & contrast

On white

12.59
#471A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#471A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A74
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A74#FFFFFF#000000##FFFFFF
##471A741.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#3D3146
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471a74;
/* rgb */ color: rgb(71, 26, 116);
/* oklch */ color: oklch(34.0% 0.144 301.8);
Tailwind
colors: {
  custom: {
    50: '#7f5b9d',
    500: '#471a74',
    950: '#000000',
  },
}
SCSS
$custom: #471a74;
$custom-light: #7f5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#471a74",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 270,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33973,
    "c": 0.1442,
    "h": 301.8
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#471A74
secondary
#75A941
accent
#E64194
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471A74

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

Preview Lab → · Contrast checker → · Palette generator →

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