#471574#471574

#471574 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.150 H 302.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#471574
RGBrgb(71, 21, 116)
HSLhsl(272, 69%, 27%)
HSVhsv(272, 82%, 45%)
CMYKcmyk(38.8%, 81.9%, 0%, 54.5%)
CIE-LABlab(20.58, 41.60, -44.21)
CIE-LCHlch(20.58, 60.70, 313.26°)
OKLaboklab(33.43% 0.0807 -0.1262)
OKLCHoklch(33.43% 0.15 302.6)
XYZxyz(6.0183, 3.1369, 16.8080)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471574 #427415
analogous
#181574 #471574 #741572
triadic
#471574 #744715 #157447
tetradic
#471574 #741815 #427415 #157274
square
#471574 #741815 #427415 #157274
split-complementary
#471574 #727415 #157418
monochromatic
#10051A #270C40 #471574 #671EA8 #862BD9

Accessibility & contrast

On white

12.90
#471574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#471574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471574
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471574#FFFFFF#000000##FFFFFF
##4715741.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471574;
/* rgb */ color: rgb(71, 21, 116);
/* oklch */ color: oklch(33.4% 0.150 302.6);
Tailwind
colors: {
  custom: {
    50: '#7f599d',
    500: '#471574',
    950: '#000000',
  },
}
SCSS
$custom: #471574;
$custom-light: #7f599d;
$custom-dark: #000000;
JSON
{
  "hex": "#471574",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 271.579,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33432,
    "c": 0.14978,
    "h": 302.6
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#471574
secondary
#6FAA3B
accent
#EC3C8F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471574

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

Preview Lab → · Contrast checker → · Palette generator →

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