#471677#471677

#471677 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.152 H 301.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#471677
RGBrgb(71, 22, 119)
HSLhsl(270, 69%, 28%)
HSVhsv(270, 82%, 47%)
CMYKcmyk(40.3%, 81.5%, 0%, 53.3%)
CIE-LABlab(21.00, 41.94, -45.46)
CIE-LCHlch(21.00, 61.85, 312.70°)
OKLaboklab(33.81% 0.0789 -0.1299)
OKLCHoklch(33.81% 0.152 301.3)
XYZxyz(6.2144, 3.2453, 17.7482)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471677 #467716
analogous
#161677 #471677 #771676
triadic
#471677 #774716 #167747
tetradic
#471677 #771616 #467716 #167677
square
#471677 #771616 #467716 #167677
split-complementary
#471677 #767716 #167716
monochromatic
#0F051A #280C43 #471677 #6620AB #852FD9

Accessibility & contrast

On white

12.73
#471677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471677
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471677#FFFFFF#000000##FFFFFF
##4716771.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#3C3046
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471677;
/* rgb */ color: rgb(71, 22, 119);
/* oklch */ color: oklch(33.8% 0.152 301.3);
Tailwind
colors: {
  custom: {
    50: '#805a9f',
    500: '#471677',
    950: '#000000',
  },
}
SCSS
$custom: #471677;
$custom-light: #805a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#471677",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 270.309,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33807,
    "c": 0.15197,
    "h": 301.3
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#471677
secondary
#74AC3C
accent
#EC3C93
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #471677

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

Preview Lab → · Contrast checker → · Palette generator →

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