#47166C#47166C

#47166C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.140 H 305.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#47166C
RGBrgb(71, 22, 108)
HSLhsl(274, 66%, 25%)
HSVhsv(274, 80%, 42%)
CMYKcmyk(34.3%, 79.6%, 0%, 57.6%)
CIE-LABlab(20.03, 39.17, -39.94)
CIE-LCHlch(20.03, 55.94, 314.44°)
OKLaboklab(32.82% 0.0819 -0.1136)
OKLCHoklch(32.82% 0.14 305.8)
XYZxyz(5.5916, 2.9962, 14.4682)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47166C #3B6C16
analogous
#1C166C #47166C #6C1666
triadic
#47166C #6C4716 #166C47
tetradic
#47166C #6C1C16 #3B6C16 #16666C
square
#47166C #6C1C16 #3B6C16 #16666C
split-complementary
#47166C #666C16 #166C1C
monochromatic
#110519 #260C39 #47166C #68209F #8A2BD2

Accessibility & contrast

On white

13.13
#47166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#47166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47166C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47166C#FFFFFF#000000##FFFFFF
##47166C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#402B40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #47166c;
/* rgb */ color: rgb(71, 22, 108);
/* oklch */ color: oklch(32.8% 0.140 305.8);
Tailwind
colors: {
  custom: {
    50: '#7e5997',
    500: '#47166c',
    950: '#000000',
  },
}
SCSS
$custom: #47166c;
$custom-light: #7e5997;
$custom-dark: #000000;
JSON
{
  "hex": "#47166c",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 274.186,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32824,
    "c": 0.14008,
    "h": 305.8
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#47166C
secondary
#68A23C
accent
#E93F88
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #47166C

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

Preview Lab → · Contrast checker → · Palette generator →

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