#471674#471674

#471674 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.149 H 302.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#471674
RGBrgb(71, 22, 116)
HSLhsl(271, 68%, 27%)
HSVhsv(271, 81%, 45%)
CMYKcmyk(38.8%, 81%, 0%, 54.5%)
CIE-LABlab(20.73, 41.18, -43.97)
CIE-LCHlch(20.73, 60.25, 313.12°)
OKLaboklab(33.53% 0.0798 -0.1255)
OKLCHoklch(33.53% 0.149 302.5)
XYZxyz(6.0371, 3.1744, 16.8143)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471674 #437416
analogous
#181674 #471674 #741672
triadic
#471674 #744716 #167447
tetradic
#471674 #741816 #437416 #167274
square
#471674 #741816 #437416 #167274
split-complementary
#471674 #727416 #167418
monochromatic
#10051A #280C41 #471674 #6620A7 #862DD7

Accessibility & contrast

On white

12.85
#471674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#471674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471674
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471674#FFFFFF#000000##FFFFFF
##4716741.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#3D2F45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471674;
/* rgb */ color: rgb(71, 22, 116);
/* oklch */ color: oklch(33.5% 0.149 302.5);
Tailwind
colors: {
  custom: {
    50: '#7f5a9d',
    500: '#471674',
    950: '#000000',
  },
}
SCSS
$custom: #471674;
$custom-light: #7f5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#471674",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 271.277,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33533,
    "c": 0.14872,
    "h": 302.5
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#471674
secondary
#71AA3C
accent
#EB3D90
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471674

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

Preview Lab → · Contrast checker → · Palette generator →

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