#47196C#47196C

#47196C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.136 H 305.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#47196C
RGBrgb(71, 25, 108)
HSLhsl(273, 62%, 26%)
HSVhsv(273, 77%, 42%)
CMYKcmyk(34.3%, 76.9%, 0%, 57.6%)
CIE-LABlab(20.51, 37.80, -39.16)
CIE-LCHlch(20.51, 54.43, 313.99°)
OKLaboklab(33.16% 0.0788 -0.1114)
OKLCHoklch(33.16% 0.136 305.3)
XYZxyz(5.6523, 3.1176, 14.4884)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47196C #3E6C19
analogous
#1D196C #47196C #6C1967
triadic
#47196C #6C4719 #196C47
tetradic
#47196C #6C1D19 #3E6C19 #19676C
square
#47196C #6C1D19 #3E6C19 #19676C
split-complementary
#47196C #676C19 #196C1D
monochromatic
#100619 #260D3A #47196C #68259E #8830CF

Accessibility & contrast

On white

12.93
#47196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#47196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47196C
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47196C#FFFFFF#000000##FFFFFF
##47196C1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#402D41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47196c;
/* rgb */ color: rgb(71, 25, 108);
/* oklch */ color: oklch(33.2% 0.136 305.3);
Tailwind
colors: {
  custom: {
    50: '#7e5b97',
    500: '#47196c',
    950: '#000000',
  },
}
SCSS
$custom: #47196c;
$custom-light: #7e5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#47196c",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 273.253,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33163,
    "c": 0.13645,
    "h": 305.3
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#47196C
secondary
#6BA13F
accent
#E5428B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #47196C

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

Preview Lab → · Contrast checker → · Palette generator →

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