#471166#471166

#471166 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.139 H 309.2°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#471166
RGBrgb(71, 17, 102)
HSLhsl(278, 71%, 23%)
HSVhsv(278, 83%, 40%)
CMYKcmyk(30.4%, 83.3%, 0%, 60%)
CIE-LABlab(18.80, 39.78, -38.01)
CIE-LCHlch(18.80, 55.02, 316.30°)
OKLaboklab(31.8% 0.0881 -0.1079)
OKLCHoklch(31.8% 0.139 309.2)
XYZxyz(5.1968, 2.6999, 12.8152)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471166 #306611
analogous
#1C1166 #471166 #66115A
triadic
#471166 #664711 #116647
tetradic
#471166 #661C11 #306611 #115A66
square
#471166 #661C11 #306611 #115A66
split-complementary
#471166 #5A6611 #11661C
monochromatic
#12041A #220832 #471166 #6C1A9A #9022CF

Accessibility & contrast

On white

13.64
#471166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#471166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471166
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471166#FFFFFF#000000##FFFFFF
##4711661.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#42273C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #471166;
/* rgb */ color: rgb(71, 17, 102);
/* oklch */ color: oklch(31.8% 0.139 309.2);
Tailwind
colors: {
  custom: {
    50: '#7e5692',
    500: '#471166',
    950: '#000000',
  },
}
SCSS
$custom: #471166;
$custom-light: #7e5692;
$custom-dark: #000000;
JSON
{
  "hex": "#471166",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 278.118,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31801,
    "c": 0.13932,
    "h": 309.2
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#471166
secondary
#5B9E35
accent
#EE3A7B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #471166

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

Preview Lab → · Contrast checker → · Palette generator →

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