#47166A#47166A

#47166A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.138 H 306.7°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#47166A
RGBrgb(71, 22, 106)
HSLhsl(275, 66%, 25%)
HSVhsv(275, 79%, 42%)
CMYKcmyk(33%, 79.2%, 0%, 58.4%)
CIE-LABlab(19.86, 38.67, -38.91)
CIE-LCHlch(19.86, 54.86, 314.82°)
OKLaboklab(32.65% 0.0824 -0.1106)
OKLCHoklch(32.65% 0.138 306.7)
XYZxyz(5.4864, 2.9541, 13.9140)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47166A #396A16
analogous
#1D166A #47166A #6A1663
triadic
#47166A #6A4716 #166A47
tetradic
#47166A #6A1D16 #396A16 #16636A
square
#47166A #6A1D16 #396A16 #16636A
split-complementary
#47166A #636A16 #166A1D
monochromatic
#110519 #250B37 #47166A #69219D #8B2BCF

Accessibility & contrast

On white

13.20
#47166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#47166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47166A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47166A#FFFFFF#000000##FFFFFF
##47166A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#412B3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #47166a;
/* rgb */ color: rgb(71, 22, 106);
/* oklch */ color: oklch(32.7% 0.138 306.7);
Tailwind
colors: {
  custom: {
    50: '#7e5995',
    500: '#47166a',
    950: '#000000',
  },
}
SCSS
$custom: #47166a;
$custom-light: #7e5995;
$custom-dark: #000000;
JSON
{
  "hex": "#47166a",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 275,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32652,
    "c": 0.13791,
    "h": 306.7
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#47166A
secondary
#65A03B
accent
#E93F86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #47166A

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

Preview Lab → · Contrast checker → · Palette generator →

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