#47207E#47207E

#47207E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.148 H 297.1°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#47207E
RGBrgb(71, 32, 126)
HSLhsl(265, 59%, 31%)
HSVhsv(265, 75%, 49%)
CMYKcmyk(43.7%, 74.6%, 0%, 50.6%)
CIE-LABlab(23.27, 39.13, -46.22)
CIE-LCHlch(23.27, 60.55, 310.25°)
OKLaboklab(35.59% 0.0677 -0.1322)
OKLCHoklch(35.59% 0.148 297.1)
XYZxyz(6.8800, 3.8788, 20.1208)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47207E #577E20
analogous
#20287E #47207E #76207E
triadic
#47207E #7E4720 #207E47
tetradic
#47207E #7E2028 #577E20 #207E76
square
#47207E #7E2028 #577E20 #207E76
split-complementary
#47207E #7E7620 #287E20
monochromatic
#10071C #2B144D #47207E #632CAF #8148D0

Accessibility & contrast

On white

11.83
#47207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#47207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47207E
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47207E#FFFFFF#000000##FFFFFF
##47207E1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#39384D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #47207e;
/* rgb */ color: rgb(71, 32, 126);
/* oklch */ color: oklch(35.6% 0.148 297.1);
Tailwind
colors: {
  custom: {
    50: '#805fa4',
    500: '#47207e',
    950: '#000000',
  },
}
SCSS
$custom: #47207e;
$custom-light: #805fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#47207e",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 264.894,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35594,
    "c": 0.14848,
    "h": 297.1
  },
  "luminance": 0.03879
}

Semantic roles & 50–950 ramp

primary
#47207E
secondary
#86B149
accent
#E345A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47207E

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

Preview Lab → · Contrast checker → · Palette generator →

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