#47167C#47167C

#47167C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.157 H 299.5°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#47167C
RGBrgb(71, 22, 124)
HSLhsl(269, 70%, 29%)
HSVhsv(269, 82%, 49%)
CMYKcmyk(42.7%, 82.3%, 0%, 51.4%)
CIE-LABlab(21.46, 43.23, -47.89)
CIE-LCHlch(21.46, 64.52, 312.07°)
OKLaboklab(34.27% 0.0774 -0.137)
OKLCHoklch(34.27% 0.157 299.5)
XYZxyz(6.5226, 3.3686, 19.3714)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47167C #4B7C16
analogous
#16187C #47167C #7A167C
triadic
#47167C #7C4716 #167C47
tetradic
#47167C #7C1618 #4B7C16 #167C7A
square
#47167C #7C1618 #4B7C16 #167C7A
split-complementary
#47167C #7C7A16 #187C16
monochromatic
#0F051A #290D48 #47167C #651FB0 #8332DB

Accessibility & contrast

On white

12.55
#47167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47167C
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47167C#FFFFFF#000000##FFFFFF
##47167C1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#3A3249
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #47167c;
/* rgb */ color: rgb(71, 22, 124);
/* oklch */ color: oklch(34.3% 0.157 299.5);
Tailwind
colors: {
  custom: {
    50: '#805aa3',
    500: '#47167c',
    950: '#000000',
  },
}
SCSS
$custom: #47167c;
$custom-light: #805aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#47167c",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 268.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34272,
    "c": 0.15736,
    "h": 299.5
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#47167C
secondary
#79B13D
accent
#ED3B97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47167C

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

Preview Lab → · Contrast checker → · Palette generator →

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