#471C7A#471C7A

#471C7A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.149 H 299.2°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#471C7A
RGBrgb(71, 28, 122)
HSLhsl(267, 63%, 29%)
HSVhsv(267, 77%, 48%)
CMYKcmyk(41.8%, 77%, 0%, 52.2%)
CIE-LABlab(22.21, 40.02, -45.39)
CIE-LCHlch(22.21, 60.52, 311.40°)
OKLaboklab(34.74% 0.0726 -0.1297)
OKLCHoklch(34.74% 0.149 299.2)
XYZxyz(6.5258, 3.5752, 18.7548)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C7A #4F7A1C
analogous
#1C207A #471C7A #761C7A
triadic
#471C7A #7A471C #1C7A47
tetradic
#471C7A #7A1C20 #4F7A1C #1C7A76
square
#471C7A #7A1C20 #4F7A1C #1C7A76
split-complementary
#471C7A #7A761C #207A1C
monochromatic
#0E0619 #2A1148 #471C7A #6427AC #823ED3

Accessibility & contrast

On white

12.24
#471C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471C7A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C7A#FFFFFF#000000##FFFFFF
##471C7A1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471c7a;
/* rgb */ color: rgb(71, 28, 122);
/* oklch */ color: oklch(34.7% 0.149 299.2);
Tailwind
colors: {
  custom: {
    50: '#805da1',
    500: '#471c7a',
    950: '#000000',
  },
}
SCSS
$custom: #471c7a;
$custom-light: #805da1;
$custom-dark: #000000;
JSON
{
  "hex": "#471c7a",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 267.447,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34742,
    "c": 0.14864,
    "h": 299.2
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#471C7A
secondary
#7DAE44
accent
#E6429B
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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