#471679#471679

#471679 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.154 H 300.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#471679
RGBrgb(71, 22, 121)
HSLhsl(270, 69%, 28%)
HSVhsv(270, 82%, 47%)
CMYKcmyk(41.3%, 81.8%, 0%, 52.5%)
CIE-LABlab(21.18, 42.46, -46.44)
CIE-LCHlch(21.18, 62.92, 312.44°)
OKLaboklab(33.99% 0.0783 -0.1327)
OKLCHoklch(33.99% 0.154 300.5)
XYZxyz(6.3358, 3.2938, 18.3874)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471679 #487916
analogous
#161679 #471679 #781679
triadic
#471679 #794716 #167947
tetradic
#471679 #791616 #487916 #167978
square
#471679 #791616 #487916 #167978
split-complementary
#471679 #797816 #167916
monochromatic
#0F051A #290D45 #471679 #651FAD #8430D9

Accessibility & contrast

On white

12.66
#471679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#471679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471679
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471679#FFFFFF#000000##FFFFFF
##4716791.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#3B3148
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471679;
/* rgb */ color: rgb(71, 22, 121);
/* oklch */ color: oklch(34.0% 0.154 300.5);
Tailwind
colors: {
  custom: {
    50: '#805aa1',
    500: '#471679',
    950: '#000000',
  },
}
SCSS
$custom: #471679;
$custom-light: #805aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#471679",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 269.697,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33992,
    "c": 0.15412,
    "h": 300.5
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#471679
secondary
#76AE3D
accent
#EC3C95
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471679

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

Preview Lab → · Contrast checker → · Palette generator →

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