#471676#471676

#471676 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.151 H 301.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#471676
RGBrgb(71, 22, 118)
HSLhsl(271, 69%, 27%)
HSVhsv(271, 81%, 46%)
CMYKcmyk(39.8%, 81.4%, 0%, 53.7%)
CIE-LABlab(20.91, 41.69, -44.97)
CIE-LCHlch(20.91, 61.32, 312.84°)
OKLaboklab(33.72% 0.0792 -0.1284)
OKLCHoklch(33.72% 0.151 301.7)
XYZxyz(6.1547, 3.2214, 17.4336)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471676 #457616
analogous
#171676 #471676 #761675
triadic
#471676 #764716 #167647
tetradic
#471676 #761716 #457616 #167576
square
#471676 #761716 #457616 #167576
split-complementary
#471676 #757616 #167617
monochromatic
#10051A #280C42 #471676 #6620AA #852ED8

Accessibility & contrast

On white

12.77
#471676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#471676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471676
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471676#FFFFFF#000000##FFFFFF
##4716761.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471676;
/* rgb */ color: rgb(71, 22, 118);
/* oklch */ color: oklch(33.7% 0.151 301.7);
Tailwind
colors: {
  custom: {
    50: '#7f5a9e',
    500: '#471676',
    950: '#000000',
  },
}
SCSS
$custom: #471676;
$custom-light: #7f5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471676",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 270.625,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33716,
    "c": 0.15088,
    "h": 301.7
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#471676
secondary
#73AC3C
accent
#EB3C92
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471676

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

Preview Lab → · Contrast checker → · Palette generator →

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