#471668#471668

#471668 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.136 H 307.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#471668
RGBrgb(71, 22, 104)
HSLhsl(276, 65%, 25%)
HSVhsv(276, 79%, 41%)
CMYKcmyk(31.7%, 78.8%, 0%, 59.2%)
CIE-LABlab(19.69, 38.18, -37.88)
CIE-LCHlch(19.69, 53.78, 315.23°)
OKLaboklab(32.48% 0.0828 -0.1076)
OKLCHoklch(32.48% 0.136 307.6)
XYZxyz(5.3836, 2.9130, 13.3727)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471668 #376816
analogous
#1E1668 #471668 #681660
triadic
#471668 #684716 #166847
tetradic
#471668 #681E16 #376816 #166068
square
#471668 #681E16 #376816 #166068
split-complementary
#471668 #606816 #16681E
monochromatic
#110519 #250B35 #471668 #69219B #8C2BCD

Accessibility & contrast

On white

13.27
#471668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#471668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471668
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471668#FFFFFF#000000##FFFFFF
##4716681.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#422A3E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471668;
/* rgb */ color: rgb(71, 22, 104);
/* oklch */ color: oklch(32.5% 0.136 307.6);
Tailwind
colors: {
  custom: {
    50: '#7e5994',
    500: '#471668',
    950: '#000000',
  },
}
SCSS
$custom: #471668;
$custom-light: #7e5994;
$custom-dark: #000000;
JSON
{
  "hex": "#471668",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 275.854,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32481,
    "c": 0.13575,
    "h": 307.6
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#471668
secondary
#639F3B
accent
#E84083
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #471668

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

Preview Lab → · Contrast checker → · Palette generator →

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