#471678#471678

#471678 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.153 H 300.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#471678
RGBrgb(71, 22, 120)
HSLhsl(270, 69%, 28%)
HSVhsv(270, 82%, 47%)
CMYKcmyk(40.8%, 81.7%, 0%, 52.9%)
CIE-LABlab(21.09, 42.20, -45.95)
CIE-LCHlch(21.09, 62.39, 312.57°)
OKLaboklab(33.9% 0.0786 -0.1313)
OKLCHoklch(33.9% 0.153 300.9)
XYZxyz(6.2748, 3.2694, 18.0661)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471678 #477816
analogous
#161678 #471678 #781678
triadic
#471678 #784716 #167847
tetradic
#471678 #781616 #477816 #167878
square
#471678 #781616 #477816 #167878
split-complementary
#471678 #787816 #167816
monochromatic
#0F051A #280D44 #471678 #661FAC #842FD9

Accessibility & contrast

On white

12.70
#471678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471678
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471678#FFFFFF#000000##FFFFFF
##4716781.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#3C3147
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471678;
/* rgb */ color: rgb(71, 22, 120);
/* oklch */ color: oklch(33.9% 0.153 300.9);
Tailwind
colors: {
  custom: {
    50: '#805aa0',
    500: '#471678',
    950: '#000000',
  },
}
SCSS
$custom: #471678;
$custom-light: #805aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#471678",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 270,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33899,
    "c": 0.15304,
    "h": 300.9
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#471678
secondary
#75AD3C
accent
#EC3C94
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #471678

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

Preview Lab → · Contrast checker → · Palette generator →

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