#471776#471776

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

Color values

HEX#471776
RGBrgb(71, 23, 118)
HSLhsl(270, 67%, 28%)
HSVhsv(270, 81%, 46%)
CMYKcmyk(39.8%, 80.5%, 0%, 53.7%)
CIE-LABlab(21.06, 41.26, -44.72)
CIE-LCHlch(21.06, 60.85, 312.69°)
OKLaboklab(33.82% 0.0783 -0.1277)
OKLCHoklch(33.82% 0.15 301.5)
XYZxyz(6.1741, 3.2604, 17.4401)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471776 #467617
analogous
#181776 #471776 #761775
triadic
#471776 #764717 #177647
tetradic
#471776 #761817 #467617 #177576
square
#471776 #761817 #467617 #177576
split-complementary
#471776 #757617 #177618
monochromatic
#0F051A #280D43 #471776 #6621A9 #8531D7

Accessibility & contrast

On white

12.71
#471776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471776
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471776#FFFFFF#000000##FFFFFF
##4717761.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#3D3046
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471776;
/* rgb */ color: rgb(71, 23, 118);
/* oklch */ color: oklch(33.8% 0.150 301.5);
Tailwind
colors: {
  custom: {
    50: '#7f5a9e',
    500: '#471776',
    950: '#000000',
  },
}
SCSS
$custom: #471776;
$custom-light: #7f5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471776",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 270.316,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33819,
    "c": 0.14982,
    "h": 301.5
  },
  "luminance": 0.0326
}

Semantic roles & 50–950 ramp

primary
#471776
secondary
#74AB3E
accent
#EA3E93
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471776

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

Preview Lab → · Contrast checker → · Palette generator →

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