#471972#471972

#471972 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.143 H 302.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#471972
RGBrgb(71, 25, 114)
HSLhsl(271, 64%, 27%)
HSVhsv(271, 78%, 45%)
CMYKcmyk(37.7%, 78.1%, 0%, 55.3%)
CIE-LABlab(21.02, 39.34, -42.22)
CIE-LCHlch(21.02, 57.70, 312.98°)
OKLaboklab(33.68% 0.0775 -0.1204)
OKLCHoklch(33.68% 0.143 302.8)
XYZxyz(5.9827, 3.2498, 16.2284)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471972 #447219
analogous
#1A1972 #471972 #721971
triadic
#471972 #724719 #197247
tetradic
#471972 #721A19 #447219 #197172
square
#471972 #721A19 #447219 #197172
split-complementary
#471972 #717219 #19721A
monochromatic
#100619 #280E40 #471972 #6624A4 #8533D2

Accessibility & contrast

On white

12.73
#471972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#471972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##471972#FFFFFF#000000##FFFFFF
##4719721.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)
#003275
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#3E2F44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471972;
/* rgb */ color: rgb(71, 25, 114);
/* oklch */ color: oklch(33.7% 0.143 302.8);
Tailwind
colors: {
  custom: {
    50: '#7f5b9b',
    500: '#471972',
    950: '#000000',
  },
}
SCSS
$custom: #471972;
$custom-light: #7f5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#471972",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 271.011,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33681,
    "c": 0.14315,
    "h": 302.8
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#471972
secondary
#72A740
accent
#E74191
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471972

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

Preview Lab → · Contrast checker → · Palette generator →

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