#47167B#47167B

#47167B is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.156 H 299.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#47167B
RGBrgb(71, 22, 123)
HSLhsl(269, 70%, 28%)
HSVhsv(269, 82%, 48%)
CMYKcmyk(42.3%, 82.1%, 0%, 51.8%)
CIE-LABlab(21.37, 42.97, -47.41)
CIE-LCHlch(21.37, 63.98, 312.19°)
OKLaboklab(34.18% 0.0777 -0.1356)
OKLCHoklch(34.18% 0.156 299.8)
XYZxyz(6.4597, 3.3434, 19.0401)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47167B #4A7B16
analogous
#16177B #47167B #79167B
triadic
#47167B #7B4716 #167B47
tetradic
#47167B #7B1617 #4A7B16 #167B79
square
#47167B #7B1617 #4A7B16 #167B79
split-complementary
#47167B #7B7916 #177B16
monochromatic
#0F051A #290D47 #47167B #651FAF #8331DA

Accessibility & contrast

On white

12.59
#47167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#47167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47167B
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47167B#FFFFFF#000000##FFFFFF
##47167B1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#3B3249
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #47167b;
/* rgb */ color: rgb(71, 22, 123);
/* oklch */ color: oklch(34.2% 0.156 299.8);
Tailwind
colors: {
  custom: {
    50: '#805aa2',
    500: '#47167b',
    950: '#000000',
  },
}
SCSS
$custom: #47167b;
$custom-light: #805aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#47167b",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 269.109,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34178,
    "c": 0.15628,
    "h": 299.8
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#47167B
secondary
#78B03D
accent
#EC3B97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47167B

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

Preview Lab → · Contrast checker → · Palette generator →

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