#471879#471879

#471879 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.152 H 300.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#471879
RGBrgb(71, 24, 121)
HSLhsl(269, 67%, 28%)
HSVhsv(269, 80%, 47%)
CMYKcmyk(41.3%, 80.2%, 0%, 52.5%)
CIE-LABlab(21.48, 41.60, -45.95)
CIE-LCHlch(21.48, 61.99, 312.15°)
OKLaboklab(34.2% 0.0766 -0.1313)
OKLCHoklch(34.2% 0.152 300.3)
XYZxyz(6.3755, 3.3733, 18.4007)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471879 #4A7918
analogous
#181979 #471879 #771879
triadic
#471879 #794718 #187947
tetradic
#471879 #791819 #4A7918 #187977
square
#471879 #791819 #4A7918 #187977
split-complementary
#471879 #797718 #197918
monochromatic
#0F051A #290E46 #471879 #6522AC #8335D7

Accessibility & contrast

On white

12.54
#471879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#471879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471879
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471879#FFFFFF#000000##FFFFFF
##4718791.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#3B3248
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471879;
/* rgb */ color: rgb(71, 24, 121);
/* oklch */ color: oklch(34.2% 0.152 300.3);
Tailwind
colors: {
  custom: {
    50: '#805ba1',
    500: '#471879',
    950: '#000000',
  },
}
SCSS
$custom: #471879;
$custom-light: #805ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#471879",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 269.072,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34199,
    "c": 0.15203,
    "h": 300.3
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#471879
secondary
#78AE3F
accent
#EA3E97
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471879

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

Preview Lab → · Contrast checker → · Palette generator →

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