#47218F#47218F

#47218F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.167 H 291.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#47218F
RGBrgb(71, 33, 143)
HSLhsl(261, 63%, 35%)
HSVhsv(261, 77%, 56%)
CMYKcmyk(50.3%, 76.9%, 0%, 43.9%)
CIE-LABlab(24.98, 43.37, -54.06)
CIE-LCHlch(24.98, 69.31, 308.74°)
OKLaboklab(37.28% 0.0625 -0.1552)
OKLCHoklch(37.28% 0.167 291.9)
XYZxyz(8.0989, 4.4102, 26.4058)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47218F #698F21
analogous
#21328F #47218F #7E218F
triadic
#47218F #8F4721 #218F47
tetradic
#47218F #8F2132 #698F21 #218F7E
square
#47218F #8F2132 #698F21 #218F7E
split-complementary
#47218F #8F7E21 #328F21
monochromatic
#160A2C #2E165D #47218F #602CC1 #8153D7

Accessibility & contrast

On white

11.16
#47218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47218F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47218F#FFFFFF#000000##FFFFFF
##47218F1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2F3F57
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47218f;
/* rgb */ color: rgb(71, 33, 143);
/* oklch */ color: oklch(37.3% 0.167 291.9);
Tailwind
colors: {
  custom: {
    50: '#8261b1',
    500: '#47218f',
    950: '#000000',
  },
}
SCSS
$custom: #47218f;
$custom-light: #8261b1;
$custom-dark: #000000;
JSON
{
  "hex": "#47218f",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 260.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3728,
    "c": 0.16731,
    "h": 291.9
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#47218F
secondary
#96BB51
accent
#E642AD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #47218F

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

Preview Lab → · Contrast checker → · Palette generator →

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