#47196F#47196F

#47196F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.140 H 304.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#47196F
RGBrgb(71, 25, 111)
HSLhsl(272, 63%, 27%)
HSVhsv(272, 77%, 44%)
CMYKcmyk(36%, 77.5%, 0%, 56.5%)
CIE-LABlab(20.76, 38.56, -40.70)
CIE-LCHlch(20.76, 56.07, 313.46°)
OKLaboklab(33.42% 0.0782 -0.1159)
OKLCHoklch(33.42% 0.14 304)
XYZxyz(5.8147, 3.1826, 15.3438)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47196F #416F19
analogous
#1C196F #47196F #6F196C
triadic
#47196F #6F4719 #196F47
tetradic
#47196F #6F1C19 #416F19 #196C6F
square
#47196F #6F1C19 #416F19 #196C6F
split-complementary
#47196F #6C6F19 #196F1C
monochromatic
#100619 #270E3D #47196F #6724A1 #8732D1

Accessibility & contrast

On white

12.83
#47196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#47196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47196F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47196F#FFFFFF#000000##FFFFFF
##47196F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#3F2E43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #47196f;
/* rgb */ color: rgb(71, 25, 111);
/* oklch */ color: oklch(33.4% 0.140 304.0);
Tailwind
colors: {
  custom: {
    50: '#7f5b99',
    500: '#47196f',
    950: '#000000',
  },
}
SCSS
$custom: #47196f;
$custom-light: #7f5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#47196f",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 272.093,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3342,
    "c": 0.1398,
    "h": 304
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#47196F
secondary
#6EA43F
accent
#E6428E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #47196F

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

Preview Lab → · Contrast checker → · Palette generator →

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