#471976#471976

#471976 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.148 H 301.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#471976
RGBrgb(71, 25, 118)
HSLhsl(270, 65%, 28%)
HSVhsv(270, 79%, 46%)
CMYKcmyk(39.8%, 78.8%, 0%, 53.7%)
CIE-LABlab(21.37, 40.37, -44.22)
CIE-LCHlch(21.37, 59.88, 312.40°)
OKLaboklab(34.04% 0.0765 -0.1262)
OKLCHoklch(34.04% 0.148 301.2)
XYZxyz(6.2154, 3.3428, 17.4538)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471976 #487619
analogous
#191A76 #471976 #751976
triadic
#471976 #764719 #197647
tetradic
#471976 #76191A #487619 #197675
square
#471976 #76191A #487619 #197675
split-complementary
#471976 #767519 #1A7619
monochromatic
#0F0519 #290E43 #471976 #6524A8 #8435D4

Accessibility & contrast

On white

12.59
#471976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#471976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471976
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471976#FFFFFF#000000##FFFFFF
##4719761.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#3D3146
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471976;
/* rgb */ color: rgb(71, 25, 118);
/* oklch */ color: oklch(34.0% 0.148 301.2);
Tailwind
colors: {
  custom: {
    50: '#7f5b9e',
    500: '#471976',
    950: '#000000',
  },
}
SCSS
$custom: #471976;
$custom-light: #7f5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471976",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 269.677,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34036,
    "c": 0.14761,
    "h": 301.2
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#471976
secondary
#76AB40
accent
#E84095
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471976

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

Preview Lab → · Contrast checker → · Palette generator →

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