#47167F#47167F

#47167F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.161 H 298.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#47167F
RGBrgb(71, 22, 127)
HSLhsl(268, 70%, 29%)
HSVhsv(268, 83%, 50%)
CMYKcmyk(44.1%, 82.7%, 0%, 50.2%)
CIE-LABlab(21.75, 44.00, -49.34)
CIE-LCHlch(21.75, 66.11, 311.73°)
OKLaboklab(34.56% 0.0764 -0.1412)
OKLCHoklch(34.56% 0.161 298.4)
XYZxyz(6.7152, 3.4456, 20.3858)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47167F #4E7F16
analogous
#161A7F #47167F #7C167F
triadic
#47167F #7F4716 #167F47
tetradic
#47167F #7F161A #4E7F16 #167F7C
square
#47167F #7F161A #4E7F16 #167F7C
split-complementary
#47167F #7F7C16 #1A7F16
monochromatic
#0F051A #2A0D4B #47167F #641FB3 #8234DC

Accessibility & contrast

On white

12.43
#47167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#47167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47167F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47167F#FFFFFF#000000##FFFFFF
##47167F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#39344B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #47167f;
/* rgb */ color: rgb(71, 22, 127);
/* oklch */ color: oklch(34.6% 0.161 298.4);
Tailwind
colors: {
  custom: {
    50: '#815aa5',
    500: '#47167f',
    950: '#000000',
  },
}
SCSS
$custom: #47167f;
$custom-light: #815aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#47167f",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 268,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34556,
    "c": 0.16059,
    "h": 298.4
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#47167F
secondary
#7CB43D
accent
#ED3B9A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47167F

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

Preview Lab → · Contrast checker → · Palette generator →

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