#471878#471878

#471878 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.151 H 300.6°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#471878
RGBrgb(71, 24, 120)
HSLhsl(269, 67%, 28%)
HSVhsv(269, 80%, 47%)
CMYKcmyk(40.8%, 80%, 0%, 52.9%)
CIE-LABlab(21.39, 41.34, -45.46)
CIE-LCHlch(21.39, 61.45, 312.28°)
OKLaboklab(34.11% 0.0769 -0.1299)
OKLCHoklch(34.11% 0.151 300.6)
XYZxyz(6.3145, 3.3489, 18.0794)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471878 #497818
analogous
#181978 #471878 #771878
triadic
#471878 #784718 #187847
tetradic
#471878 #781819 #497818 #187877
square
#471878 #781819 #497818 #187877
split-complementary
#471878 #787718 #197818
monochromatic
#0F051A #290E45 #471878 #6522AB #8434D6

Accessibility & contrast

On white

12.58
#471878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471878
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471878#FFFFFF#000000##FFFFFF
##4718781.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471878;
/* rgb */ color: rgb(71, 24, 120);
/* oklch */ color: oklch(34.1% 0.151 300.6);
Tailwind
colors: {
  custom: {
    50: '#805ba0',
    500: '#471878',
    950: '#000000',
  },
}
SCSS
$custom: #471878;
$custom-light: #805ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#471878",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 269.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34108,
    "c": 0.15092,
    "h": 300.6
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#471878
secondary
#77AD3F
accent
#EA3E96
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #471878

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

Preview Lab → · Contrast checker → · Palette generator →

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