#47166D#47166D

#47166D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.141 H 305.3°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#47166D
RGBrgb(71, 22, 109)
HSLhsl(274, 66%, 26%)
HSVhsv(274, 80%, 43%)
CMYKcmyk(34.9%, 79.8%, 0%, 57.3%)
CIE-LABlab(20.11, 39.42, -40.45)
CIE-LCHlch(20.11, 56.48, 314.26°)
OKLaboklab(32.91% 0.0817 -0.1151)
OKLCHoklch(32.91% 0.141 305.3)
XYZxyz(5.6451, 3.0176, 14.7501)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47166D #3C6D16
analogous
#1B166D #47166D #6D1667
triadic
#47166D #6D4716 #166D47
tetradic
#47166D #6D1B16 #3C6D16 #16676D
square
#47166D #6D1B16 #3C6D16 #16676D
split-complementary
#47166D #676D16 #166D1B
monochromatic
#110519 #260C3A #47166D #6820A0 #892BD3

Accessibility & contrast

On white

13.10
#47166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#47166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47166D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47166D#FFFFFF#000000##FFFFFF
##47166D1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#402C41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47166d;
/* rgb */ color: rgb(71, 22, 109);
/* oklch */ color: oklch(32.9% 0.141 305.3);
Tailwind
colors: {
  custom: {
    50: '#7f5998',
    500: '#47166d',
    950: '#000000',
  },
}
SCSS
$custom: #47166d;
$custom-light: #7f5998;
$custom-dark: #000000;
JSON
{
  "hex": "#47166d",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 273.793,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32911,
    "c": 0.14116,
    "h": 305.3
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#47166D
secondary
#69A33C
accent
#E93E89
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #47166D

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

Preview Lab → · Contrast checker → · Palette generator →

#47166D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva