#47167A#47167A

#47167A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.155 H 300.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#47167A
RGBrgb(71, 22, 122)
HSLhsl(269, 69%, 28%)
HSVhsv(269, 82%, 48%)
CMYKcmyk(41.8%, 82%, 0%, 52.2%)
CIE-LABlab(21.28, 42.71, -46.92)
CIE-LCHlch(21.28, 63.45, 312.31°)
OKLaboklab(34.09% 0.078 -0.1342)
OKLCHoklch(34.09% 0.155 300.2)
XYZxyz(6.3974, 3.3185, 18.7121)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47167A #497A16
analogous
#16177A #47167A #79167A
triadic
#47167A #7A4716 #167A47
tetradic
#47167A #7A1617 #497A16 #167A79
square
#47167A #7A1617 #497A16 #167A79
split-complementary
#47167A #7A7916 #177A16
monochromatic
#0F051A #290D46 #47167A #651FAE #8431DA

Accessibility & contrast

On white

12.62
#47167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#47167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47167A
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47167A#FFFFFF#000000##FFFFFF
##47167A1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#3B3148
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #47167a;
/* rgb */ color: rgb(71, 22, 122);
/* oklch */ color: oklch(34.1% 0.155 300.2);
Tailwind
colors: {
  custom: {
    50: '#805aa1',
    500: '#47167a',
    950: '#000000',
  },
}
SCSS
$custom: #47167a;
$custom-light: #805aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#47167a",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 269.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34085,
    "c": 0.1552,
    "h": 300.2
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#47167A
secondary
#77AF3D
accent
#EC3C96
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47167A

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

Preview Lab → · Contrast checker → · Palette generator →

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