#47196B#47196B

#47196B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.135 H 305.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#47196B
RGBrgb(71, 25, 107)
HSLhsl(274, 62%, 26%)
HSVhsv(274, 77%, 42%)
CMYKcmyk(33.6%, 76.6%, 0%, 58%)
CIE-LABlab(20.43, 37.54, -38.64)
CIE-LCHlch(20.43, 53.88, 314.17°)
OKLaboklab(33.08% 0.079 -0.1099)
OKLCHoklch(33.08% 0.135 305.7)
XYZxyz(5.5994, 3.0964, 14.2098)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47196B #3D6B19
analogous
#1E196B #47196B #6B1966
triadic
#47196B #6B4719 #196B47
tetradic
#47196B #6B1E19 #3D6B19 #19666B
square
#47196B #6B1E19 #3D6B19 #19666B
split-complementary
#47196B #666B19 #196B1E
monochromatic
#100619 #260D39 #47196B #68259D #8930CE

Accessibility & contrast

On white

12.97
#47196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47196B
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47196B#FFFFFF#000000##FFFFFF
##47196B1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#412D40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47196b;
/* rgb */ color: rgb(71, 25, 107);
/* oklch */ color: oklch(33.1% 0.135 305.7);
Tailwind
colors: {
  custom: {
    50: '#7e5b96',
    500: '#47196b',
    950: '#000000',
  },
}
SCSS
$custom: #47196b;
$custom-light: #7e5b96;
$custom-dark: #000000;
JSON
{
  "hex": "#47196b",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 273.659,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33078,
    "c": 0.13533,
    "h": 305.7
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#47196B
secondary
#6AA13F
accent
#E5438A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #47196B

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

Preview Lab → · Contrast checker → · Palette generator →

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