#47166F#47166F

#47166F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.143 H 304.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#47166F
RGBrgb(71, 22, 111)
HSLhsl(273, 67%, 26%)
HSVhsv(273, 80%, 44%)
CMYKcmyk(36%, 80.2%, 0%, 56.5%)
CIE-LABlab(20.29, 39.92, -41.47)
CIE-LCHlch(20.29, 57.56, 313.91°)
OKLaboklab(33.09% 0.0812 -0.1181)
OKLCHoklch(33.09% 0.143 304.5)
XYZxyz(5.7540, 3.0611, 15.3236)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47166F #3E6F16
analogous
#1B166F #47166F #6F166A
triadic
#47166F #6F4716 #166F47
tetradic
#47166F #6F1B16 #3E6F16 #166A6F
square
#47166F #6F1B16 #3E6F16 #166A6F
split-complementary
#47166F #6A6F16 #166F1B
monochromatic
#10051A #260C3C #47166F #6820A2 #882BD5

Accessibility & contrast

On white

13.03
#47166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#47166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47166F
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47166F#FFFFFF#000000##FFFFFF
##47166F1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#3F2D42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47166f;
/* rgb */ color: rgb(71, 22, 111);
/* oklch */ color: oklch(33.1% 0.143 304.5);
Tailwind
colors: {
  custom: {
    50: '#7f5999',
    500: '#47166f',
    950: '#000000',
  },
}
SCSS
$custom: #47166f;
$custom-light: #7f5999;
$custom-dark: #000000;
JSON
{
  "hex": "#47166f",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 273.034,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33086,
    "c": 0.14332,
    "h": 304.5
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#47166F
secondary
#6BA53C
accent
#EA3E8B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #47166F

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

Preview Lab → · Contrast checker → · Palette generator →

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