#471973#471973

#471973 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.144 H 302.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#471973
RGBrgb(71, 25, 115)
HSLhsl(271, 64%, 27%)
HSVhsv(271, 78%, 45%)
CMYKcmyk(38.3%, 78.3%, 0%, 54.9%)
CIE-LABlab(21.10, 39.59, -42.72)
CIE-LCHlch(21.10, 58.25, 312.83°)
OKLaboklab(33.77% 0.0773 -0.1218)
OKLCHoklch(33.77% 0.144 302.4)
XYZxyz(6.0399, 3.2726, 16.5298)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471973 #457319
analogous
#1A1973 #471973 #731972
triadic
#471973 #734719 #197347
tetradic
#471973 #731A19 #457319 #197273
square
#471973 #731A19 #457319 #197273
split-complementary
#471973 #727319 #19731A
monochromatic
#100519 #280E41 #471973 #6624A5 #8534D3

Accessibility & contrast

On white

12.69
#471973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471973
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471973#FFFFFF#000000##FFFFFF
##4719731.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#3E3045
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471973;
/* rgb */ color: rgb(71, 25, 115);
/* oklch */ color: oklch(33.8% 0.144 302.4);
Tailwind
colors: {
  custom: {
    50: '#7f5b9c',
    500: '#471973',
    950: '#000000',
  },
}
SCSS
$custom: #471973;
$custom-light: #7f5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#471973",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 270.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33769,
    "c": 0.14427,
    "h": 302.4
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#471973
secondary
#73A840
accent
#E74192
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #471973

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

Preview Lab → · Contrast checker → · Palette generator →

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