#47218C#47218C

#47218C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.164 H 292.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#47218C
RGBrgb(71, 33, 140)
HSLhsl(261, 62%, 34%)
HSVhsv(261, 76%, 55%)
CMYKcmyk(49.3%, 76.4%, 0%, 45.1%)
CIE-LABlab(24.70, 42.52, -52.66)
CIE-LCHlch(24.70, 67.68, 308.92°)
OKLaboklab(37% 0.0633 -0.1511)
OKLCHoklch(37% 0.164 292.7)
XYZxyz(7.8747, 4.3205, 25.2249)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47218C #668C21
analogous
#21318C #47218C #7D218C
triadic
#47218C #8C4721 #218C47
tetradic
#47218C #8C2131 #668C21 #218C7D
square
#47218C #8C2131 #668C21 #218C7D
split-complementary
#47218C #8C7D21 #318C21
monochromatic
#150A29 #2E155A #47218C #602DBE #8051D6

Accessibility & contrast

On white

11.26
#47218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#47218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47218C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47218C#FFFFFF#000000##FFFFFF
##47218C1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47218c;
/* rgb */ color: rgb(71, 33, 140);
/* oklch */ color: oklch(37.0% 0.164 292.7);
Tailwind
colors: {
  custom: {
    50: '#8260af',
    500: '#47218c',
    950: '#000000',
  },
}
SCSS
$custom: #47218c;
$custom-light: #8260af;
$custom-dark: #000000;
JSON
{
  "hex": "#47218c",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 261.308,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36998,
    "c": 0.1638,
    "h": 292.7
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#47218C
secondary
#94B94F
accent
#E543AB
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #47218C

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

Preview Lab → · Contrast checker → · Palette generator →

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