#47207F#47207F

#47207F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.150 H 296.8°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#47207F
RGBrgb(71, 32, 127)
HSLhsl(265, 60%, 31%)
HSVhsv(265, 75%, 50%)
CMYKcmyk(44.1%, 74.8%, 0%, 50.2%)
CIE-LABlab(23.35, 39.40, -46.71)
CIE-LCHlch(23.35, 61.11, 310.15°)
OKLaboklab(35.68% 0.0675 -0.1336)
OKLCHoklch(35.68% 0.15 296.8)
XYZxyz(6.9448, 3.9048, 20.4624)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47207F #587F20
analogous
#20287F #47207F #76207F
triadic
#47207F #7F4720 #207F47
tetradic
#47207F #7F2028 #587F20 #207F76
square
#47207F #7F2028 #587F20 #207F76
split-complementary
#47207F #7F7620 #287F20
monochromatic
#10071D #2C144E #47207F #622CB0 #8048D1

Accessibility & contrast

On white

11.79
#47207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47207F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47207F#FFFFFF#000000##FFFFFF
##47207F1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#38384D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47207f;
/* rgb */ color: rgb(71, 32, 127);
/* oklch */ color: oklch(35.7% 0.150 296.8);
Tailwind
colors: {
  custom: {
    50: '#805fa5',
    500: '#47207f',
    950: '#000000',
  },
}
SCSS
$custom: #47207f;
$custom-light: #805fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#47207f",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 264.632,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35683,
    "c": 0.14966,
    "h": 296.8
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#47207F
secondary
#87B249
accent
#E345A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47207F

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

Preview Lab → · Contrast checker → · Palette generator →

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