#47147A#47147A

#47147A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.157 H 300.4°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#47147A
RGBrgb(71, 20, 122)
HSLhsl(270, 72%, 28%)
HSVhsv(270, 84%, 48%)
CMYKcmyk(41.8%, 83.6%, 0%, 52.2%)
CIE-LABlab(21.00, 43.52, -47.38)
CIE-LCHlch(21.00, 64.33, 312.57°)
OKLaboklab(33.89% 0.0796 -0.1355)
OKLCHoklch(33.89% 0.157 300.4)
XYZxyz(6.3607, 3.2450, 18.6998)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47147A #477A14
analogous
#14147A #47147A #7A147A
triadic
#47147A #7A4714 #147A47
tetradic
#47147A #7A1414 #477A14 #147A7A
square
#47147A #7A1414 #477A14 #147A7A
split-complementary
#47147A #7A7A14 #147A14
monochromatic
#0F041A #280B45 #47147A #661DAF #842CDC

Accessibility & contrast

On white

12.73
#47147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#47147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47147A
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47147A#FFFFFF#000000##FFFFFF
##47147A1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#3B3148
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #47147a;
/* rgb */ color: rgb(71, 20, 122);
/* oklch */ color: oklch(33.9% 0.157 300.4);
Tailwind
colors: {
  custom: {
    50: '#8059a1',
    500: '#47147a',
    950: '#000000',
  },
}
SCSS
$custom: #47147a;
$custom-light: #8059a1;
$custom-dark: #000000;
JSON
{
  "hex": "#47147a",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 270,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33892,
    "c": 0.15715,
    "h": 300.4
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#47147A
secondary
#75B03A
accent
#EF3994
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47147A

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

Preview Lab → · Contrast checker → · Palette generator →

#47147A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva