#47217C#47217C

#47217C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.145 H 297.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#47217C
RGBrgb(71, 33, 124)
HSLhsl(265, 58%, 31%)
HSVhsv(265, 73%, 49%)
CMYKcmyk(42.7%, 73.4%, 0%, 51.4%)
CIE-LABlab(23.28, 38.05, -44.93)
CIE-LCHlch(23.28, 58.88, 310.26°)
OKLaboklab(35.55% 0.0671 -0.1284)
OKLCHoklch(35.55% 0.145 297.6)
XYZxyz(6.7795, 3.8824, 19.4571)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47217C #567C21
analogous
#21287C #47217C #74217C
triadic
#47217C #7C4721 #217C47
tetradic
#47217C #7C2128 #567C21 #217C74
square
#47217C #7C2128 #567C21 #217C74
split-complementary
#47217C #7C7421 #287C21
monochromatic
#10071B #2B144C #47217C #632EAC #8149CF

Accessibility & contrast

On white

11.82
#47217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#47217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47217C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47217C#FFFFFF#000000##FFFFFF
##47217C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#3A384C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #47217c;
/* rgb */ color: rgb(71, 33, 124);
/* oklch */ color: oklch(35.5% 0.145 297.6);
Tailwind
colors: {
  custom: {
    50: '#7f60a3',
    500: '#47217c',
    950: '#000000',
  },
}
SCSS
$custom: #47217c;
$custom-light: #7f60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#47217c",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 265.055,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35549,
    "c": 0.14484,
    "h": 297.6
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#47217C
secondary
#85AF4A
accent
#E147A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47217C

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

Preview Lab → · Contrast checker → · Palette generator →

#47217C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva