#47207D#47207D

#47207D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.147 H 297.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#47207D
RGBrgb(71, 32, 125)
HSLhsl(265, 59%, 31%)
HSVhsv(265, 74%, 49%)
CMYKcmyk(43.2%, 74.4%, 0%, 51%)
CIE-LABlab(23.18, 38.85, -45.72)
CIE-LCHlch(23.18, 60.00, 310.35°)
OKLaboklab(35.51% 0.0679 -0.1307)
OKLCHoklch(35.51% 0.147 297.4)
XYZxyz(6.8158, 3.8532, 19.7827)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47207D #567D20
analogous
#20277D #47207D #75207D
triadic
#47207D #7D4720 #207D47
tetradic
#47207D #7D2027 #567D20 #207D75
square
#47207D #7D2027 #567D20 #207D75
split-complementary
#47207D #7D7520 #277D20
monochromatic
#10071C #2B144C #47207D #632CAE #8147D0

Accessibility & contrast

On white

11.86
#47207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#47207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47207D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47207D#FFFFFF#000000##FFFFFF
##47207D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#39374C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #47207d;
/* rgb */ color: rgb(71, 32, 125);
/* oklch */ color: oklch(35.5% 0.147 297.4);
Tailwind
colors: {
  custom: {
    50: '#805fa3',
    500: '#47207d',
    950: '#000000',
  },
}
SCSS
$custom: #47207d;
$custom-light: #805fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#47207d",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 265.161,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35506,
    "c": 0.14729,
    "h": 297.4
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#47207D
secondary
#85B049
accent
#E245A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47207D

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

Preview Lab → · Contrast checker → · Palette generator →

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