#47219C#47219C

#47219C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.182 H 288.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#47219C
RGBrgb(71, 33, 156)
HSLhsl(259, 65%, 37%)
HSVhsv(259, 79%, 61%)
CMYKcmyk(54.5%, 78.8%, 0%, 38.8%)
CIE-LABlab(26.24, 47.03, -60.01)
CIE-LCHlch(26.24, 76.24, 308.09°)
OKLaboklab(38.54% 0.0587 -0.1726)
OKLCHoklch(38.54% 0.182 288.8)
XYZxyz(9.1414, 4.8272, 31.8961)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47219C #769C21
analogous
#21389C #47219C #85219C
triadic
#47219C #9C4721 #219C47
tetradic
#47219C #9C2138 #769C21 #219C85
square
#47219C #9C2138 #769C21 #219C85
split-complementary
#47219C #9C8521 #389C21
monochromatic
#190C37 #301669 #47219C #5E2CCF #835BDC

Accessibility & contrast

On white

10.68
#47219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#47219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47219C
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47219C#FFFFFF#000000##FFFFFF
##47219C1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#25445E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #47219c;
/* rgb */ color: rgb(71, 33, 156);
/* oklch */ color: oklch(38.5% 0.182 288.8);
Tailwind
colors: {
  custom: {
    50: '#8461ba',
    500: '#47219c',
    950: '#000000',
  },
}
SCSS
$custom: #47219c;
$custom-light: #8461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47219c",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 258.537,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38538,
    "c": 0.18232,
    "h": 288.8
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#47219C
secondary
#A0C158
accent
#E840B4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #47219C

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

Preview Lab → · Contrast checker → · Palette generator →

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