#47218E#47218E

#47218E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.166 H 292.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#47218E
RGBrgb(71, 33, 142)
HSLhsl(261, 62%, 34%)
HSVhsv(261, 77%, 56%)
CMYKcmyk(50%, 76.8%, 0%, 44.3%)
CIE-LABlab(24.89, 43.09, -53.59)
CIE-LCHlch(24.89, 68.77, 308.80°)
OKLaboklab(37.19% 0.0628 -0.1538)
OKLCHoklch(37.19% 0.166 292.2)
XYZxyz(8.0235, 4.3800, 26.0086)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47218E #688E21
analogous
#21328E #47218E #7E218E
triadic
#47218E #8E4721 #218E47
tetradic
#47218E #8E2132 #688E21 #218E7E
square
#47218E #8E2132 #688E21 #218E7E
split-complementary
#47218E #8E7E21 #328E21
monochromatic
#150A2B #2E155C #47218E #602DC0 #8152D7

Accessibility & contrast

On white

11.19
#47218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#47218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47218E
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47218E#FFFFFF#000000##FFFFFF
##47218E1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#303F56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47218e;
/* rgb */ color: rgb(71, 33, 142);
/* oklch */ color: oklch(37.2% 0.166 292.2);
Tailwind
colors: {
  custom: {
    50: '#8261b0',
    500: '#47218e',
    950: '#000000',
  },
}
SCSS
$custom: #47218e;
$custom-light: #8261b0;
$custom-dark: #000000;
JSON
{
  "hex": "#47218e",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 260.917,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37185,
    "c": 0.16614,
    "h": 292.2
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#47218E
secondary
#95BA50
accent
#E542AD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #47218E

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

Preview Lab → · Contrast checker → · Palette generator →

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