#47167D#47167D

#47167D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.158 H 299.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#47167D
RGBrgb(71, 22, 125)
HSLhsl(269, 70%, 29%)
HSVhsv(269, 82%, 49%)
CMYKcmyk(43.2%, 82.4%, 0%, 51%)
CIE-LABlab(21.56, 43.48, -48.38)
CIE-LCHlch(21.56, 65.05, 311.95°)
OKLaboklab(34.37% 0.0771 -0.1384)
OKLCHoklch(34.37% 0.158 299.1)
XYZxyz(6.5862, 3.3940, 19.7062)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47167D #4C7D16
analogous
#16187D #47167D #7B167D
triadic
#47167D #7D4716 #167D47
tetradic
#47167D #7D1618 #4C7D16 #167D7B
square
#47167D #7D1618 #4C7D16 #167D7B
split-complementary
#47167D #7D7B16 #187D16
monochromatic
#0F051A #290D49 #47167D #651FB1 #8332DB

Accessibility & contrast

On white

12.51
#47167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#47167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47167D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47167D#FFFFFF#000000##FFFFFF
##47167D1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#3A334A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #47167d;
/* rgb */ color: rgb(71, 22, 125);
/* oklch */ color: oklch(34.4% 0.158 299.1);
Tailwind
colors: {
  custom: {
    50: '#805aa4',
    500: '#47167d',
    950: '#000000',
  },
}
SCSS
$custom: #47167d;
$custom-light: #805aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#47167d",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 268.544,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34366,
    "c": 0.15843,
    "h": 299.1
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#47167D
secondary
#7AB23D
accent
#ED3B98
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47167D

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

Preview Lab → · Contrast checker → · Palette generator →

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