#471A70#471A70

#471A70 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.140 H 303.4°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#471A70
RGBrgb(71, 26, 112)
HSLhsl(271, 62%, 27%)
HSVhsv(271, 77%, 44%)
CMYKcmyk(36.6%, 76.8%, 0%, 56.1%)
CIE-LABlab(21.01, 38.35, -40.94)
CIE-LCHlch(21.01, 56.09, 313.13°)
OKLaboklab(33.62% 0.0769 -0.1166)
OKLCHoklch(33.62% 0.14 303.4)
XYZxyz(5.8919, 3.2482, 15.6427)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471A70 #43701A
analogous
#1C1A70 #471A70 #701A6E
triadic
#471A70 #70471A #1A7047
tetradic
#471A70 #701C1A #43701A #1A6E70
square
#471A70 #701C1A #43701A #1A6E70
split-complementary
#471A70 #6E701A #1A701C
monochromatic
#100619 #280E3E #471A70 #6626A2 #8634D0

Accessibility & contrast

On white

12.73
#471A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#471A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471A70
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471A70#FFFFFF#000000##FFFFFF
##471A701.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#3F2F43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471a70;
/* rgb */ color: rgb(71, 26, 112);
/* oklch */ color: oklch(33.6% 0.140 303.4);
Tailwind
colors: {
  custom: {
    50: '#7f5b9a',
    500: '#471a70',
    950: '#000000',
  },
}
SCSS
$custom: #471a70;
$custom-light: #7f5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#471a70",
  "rgb": {
    "r": 71,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 271.395,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33624,
    "c": 0.13969,
    "h": 303.4
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#471A70
secondary
#71A541
accent
#E54290
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471A70

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

Preview Lab → · Contrast checker → · Palette generator →

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