#471474#471474

#471474 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.151 H 302.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#471474
RGBrgb(71, 20, 116)
HSLhsl(272, 71%, 27%)
HSVhsv(272, 83%, 45%)
CMYKcmyk(38.8%, 82.8%, 0%, 54.5%)
CIE-LABlab(20.44, 42.01, -44.44)
CIE-LCHlch(20.44, 61.15, 313.39°)
OKLaboklab(33.33% 0.0815 -0.1268)
OKLCHoklch(33.33% 0.151 302.7)
XYZxyz(6.0003, 3.1008, 16.8020)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471474 #417414
analogous
#171474 #471474 #741471
triadic
#471474 #744714 #147447
tetradic
#471474 #741714 #417414 #147174
square
#471474 #741714 #417414 #147174
split-complementary
#471474 #717414 #147417
monochromatic
#10051A #270B40 #471474 #671DA8 #8728DA

Accessibility & contrast

On white

12.96
#471474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#471474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471474
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471474#FFFFFF#000000##FFFFFF
##4714741.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#3D2E44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471474;
/* rgb */ color: rgb(71, 20, 116);
/* oklch */ color: oklch(33.3% 0.151 302.7);
Tailwind
colors: {
  custom: {
    50: '#7f599d',
    500: '#471474',
    950: '#000000',
  },
}
SCSS
$custom: #471474;
$custom-light: #7f599d;
$custom-dark: #000000;
JSON
{
  "hex": "#471474",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 271.875,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33334,
    "c": 0.1508,
    "h": 302.7
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#471474
secondary
#6EAA3A
accent
#ED3A8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471474

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

Preview Lab → · Contrast checker → · Palette generator →

#471474 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva