#47218D#47218D

#47218D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.165 H 292.5°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#47218D
RGBrgb(71, 33, 141)
HSLhsl(261, 62%, 34%)
HSVhsv(261, 77%, 55%)
CMYKcmyk(49.6%, 76.6%, 0%, 44.7%)
CIE-LABlab(24.80, 42.81, -53.13)
CIE-LCHlch(24.80, 68.23, 308.86°)
OKLaboklab(37.09% 0.0631 -0.1524)
OKLCHoklch(37.09% 0.165 292.5)
XYZxyz(7.9488, 4.3501, 25.6150)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47218D #678D21
analogous
#21318D #47218D #7D218D
triadic
#47218D #8D4721 #218D47
tetradic
#47218D #8D2131 #678D21 #218D7D
square
#47218D #8D2131 #678D21 #218D7D
split-complementary
#47218D #8D7D21 #318D21
monochromatic
#150A2A #2E155B #47218D #602DBF #8152D6

Accessibility & contrast

On white

11.23
#47218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#47218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47218D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47218D#FFFFFF#000000##FFFFFF
##47218D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#313E55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47218d;
/* rgb */ color: rgb(71, 33, 141);
/* oklch */ color: oklch(37.1% 0.165 292.5);
Tailwind
colors: {
  custom: {
    50: '#8261af',
    500: '#47218d',
    950: '#000000',
  },
}
SCSS
$custom: #47218d;
$custom-light: #8261af;
$custom-dark: #000000;
JSON
{
  "hex": "#47218d",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 261.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37091,
    "c": 0.16496,
    "h": 292.5
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#47218D
secondary
#95BA50
accent
#E543AC
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #47218D

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

Preview Lab → · Contrast checker → · Palette generator →

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