#47147F#47147F

#47147F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.162 H 298.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#47147F
RGBrgb(71, 20, 127)
HSLhsl(269, 73%, 29%)
HSVhsv(269, 84%, 50%)
CMYKcmyk(44.1%, 84.3%, 0%, 50.2%)
CIE-LABlab(21.48, 44.79, -49.78)
CIE-LCHlch(21.48, 66.96, 311.98°)
OKLaboklab(34.37% 0.0779 -0.1425)
OKLCHoklch(34.37% 0.162 298.7)
XYZxyz(6.6785, 3.3721, 20.3736)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47147F #4C7F14
analogous
#14177F #47147F #7D147F
triadic
#47147F #7F4714 #147F47
tetradic
#47147F #7F1417 #4C7F14 #147F7D
square
#47147F #7F1417 #4C7F14 #147F7D
split-complementary
#47147F #7F7D14 #177F14
monochromatic
#0F041A #290C4A #47147F #651CB4 #832FDE

Accessibility & contrast

On white

12.54
#47147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#47147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47147F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47147F#FFFFFF#000000##FFFFFF
##47147F1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#39334B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #47147f;
/* rgb */ color: rgb(71, 20, 127);
/* oklch */ color: oklch(34.4% 0.162 298.7);
Tailwind
colors: {
  custom: {
    50: '#8159a5',
    500: '#47147f',
    950: '#000000',
  },
}
SCSS
$custom: #47147f;
$custom-light: #8159a5;
$custom-dark: #000000;
JSON
{
  "hex": "#47147f",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 268.598,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34369,
    "c": 0.16244,
    "h": 298.7
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#47147F
secondary
#7AB43B
accent
#EF3898
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47147F

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

Preview Lab → · Contrast checker → · Palette generator →

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