#47207A#47207A

#47207A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.144 H 298.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#47207A
RGBrgb(71, 32, 122)
HSLhsl(266, 58%, 30%)
HSVhsv(266, 74%, 48%)
CMYKcmyk(41.8%, 73.8%, 0%, 52.2%)
CIE-LABlab(22.92, 38.02, -44.24)
CIE-LCHlch(22.92, 58.33, 310.68°)
OKLaboklab(35.24% 0.0685 -0.1263)
OKLCHoklch(35.24% 0.144 298.5)
XYZxyz(6.6270, 3.7777, 18.7886)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47207A #537A20
analogous
#20267A #47207A #74207A
triadic
#47207A #7A4720 #207A47
tetradic
#47207A #7A2026 #537A20 #207A74
square
#47207A #7A2026 #537A20 #207A74
split-complementary
#47207A #7A7420 #267A20
monochromatic
#0F0719 #2B134A #47207A #632DAA #8146CE

Accessibility & contrast

On white

11.96
#47207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#47207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47207A
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47207A#FFFFFF#000000##FFFFFF
##47207A1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#3B364B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #47207a;
/* rgb */ color: rgb(71, 32, 122);
/* oklch */ color: oklch(35.2% 0.144 298.5);
Tailwind
colors: {
  custom: {
    50: '#7f5fa1',
    500: '#47207a',
    950: '#000000',
  },
}
SCSS
$custom: #47207a;
$custom-light: #7f5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#47207a",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 266,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35243,
    "c": 0.14373,
    "h": 298.5
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#47207A
secondary
#82AD49
accent
#E2469E
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47207A

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

Preview Lab → · Contrast checker → · Palette generator →

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