#471876#471876

#471876 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.149 H 301.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#471876
RGBrgb(71, 24, 118)
HSLhsl(270, 66%, 28%)
HSVhsv(270, 80%, 46%)
CMYKcmyk(39.8%, 79.7%, 0%, 53.7%)
CIE-LABlab(21.21, 40.82, -44.47)
CIE-LCHlch(21.21, 60.37, 312.55°)
OKLaboklab(33.93% 0.0774 -0.127)
OKLCHoklch(33.93% 0.149 301.4)
XYZxyz(6.1944, 3.3008, 17.4468)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471876 #477618
analogous
#181876 #471876 #761876
triadic
#471876 #764718 #187647
tetradic
#471876 #761818 #477618 #187676
square
#471876 #761818 #477618 #187676
split-complementary
#471876 #767618 #187618
monochromatic
#0F0519 #280E43 #471876 #6622A9 #8433D5

Accessibility & contrast

On white

12.65
#471876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471876
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471876#FFFFFF#000000##FFFFFF
##4718761.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#3D3146
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #471876;
/* rgb */ color: rgb(71, 24, 118);
/* oklch */ color: oklch(33.9% 0.149 301.4);
Tailwind
colors: {
  custom: {
    50: '#7f5b9e',
    500: '#471876',
    950: '#000000',
  },
}
SCSS
$custom: #471876;
$custom-light: #7f5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#471876",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 270,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33926,
    "c": 0.14873,
    "h": 301.4
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#471876
secondary
#75AB3F
accent
#E93F94
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471876

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

Preview Lab → · Contrast checker → · Palette generator →

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