#471966#471966

#471966 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.130 H 308.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#471966
RGBrgb(71, 25, 102)
HSLhsl(276, 61%, 25%)
HSVhsv(276, 75%, 40%)
CMYKcmyk(30.4%, 75.5%, 0%, 60%)
CIE-LABlab(20.02, 36.29, -36.03)
CIE-LCHlch(20.02, 51.14, 315.20°)
OKLaboklab(32.66% 0.0799 -0.1022)
OKLCHoklch(32.66% 0.13 308)
XYZxyz(5.3439, 2.9942, 12.8642)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471966 #386619
analogous
#201966 #471966 #66195F
triadic
#471966 #664719 #196647
tetradic
#471966 #662019 #386619 #195F66
square
#471966 #662019 #386619 #195F66
split-complementary
#471966 #5F6619 #196620
monochromatic
#110619 #250D35 #471966 #692597 #8B31C8

Accessibility & contrast

On white

13.13
#471966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#471966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471966
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471966#FFFFFF#000000##FFFFFF
##4719661.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#043164
Tritanopia (blue-blind)
#422B3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471966;
/* rgb */ color: rgb(71, 25, 102);
/* oklch */ color: oklch(32.7% 0.130 308.0);
Tailwind
colors: {
  custom: {
    50: '#7e5a92',
    500: '#471966',
    950: '#000000',
  },
}
SCSS
$custom: #471966;
$custom-light: #7e5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#471966",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 275.844,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32663,
    "c": 0.12974,
    "h": 308
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#471966
secondary
#649C3F
accent
#E44484
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #471966

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

Preview Lab → · Contrast checker → · Palette generator →

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