#47229C#47229C

#47229C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.181 H 288.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#47229C
RGBrgb(71, 34, 156)
HSLhsl(258, 64%, 37%)
HSVhsv(258, 78%, 61%)
CMYKcmyk(54.5%, 78.2%, 0%, 38.8%)
CIE-LABlab(26.40, 46.56, -59.74)
CIE-LCHlch(26.40, 75.74, 307.93°)
OKLaboklab(38.65% 0.058 -0.1718)
OKLCHoklch(38.65% 0.181 288.7)
XYZxyz(9.1696, 4.8835, 31.9055)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47229C #779C22
analogous
#223A9C #47229C #84229C
triadic
#47229C #9C4722 #229C47
tetradic
#47229C #9C223A #779C22 #229C84
square
#47229C #9C223A #779C22 #229C84
split-complementary
#47229C #9C8422 #3A9C22
monochromatic
#190C38 #30176A #47229C #5E2DCE #835DDC

Accessibility & contrast

On white

10.62
#47229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#47229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47229C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47229C#FFFFFF#000000##FFFFFF
##47229C1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47229c;
/* rgb */ color: rgb(71, 34, 156);
/* oklch */ color: oklch(38.7% 0.181 288.7);
Tailwind
colors: {
  custom: {
    50: '#8462ba',
    500: '#47229c',
    950: '#000000',
  },
}
SCSS
$custom: #47229c;
$custom-light: #8462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47229c",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 258.197,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38652,
    "c": 0.18135,
    "h": 288.7
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#47229C
secondary
#A1C05A
accent
#E741B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47229C

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

Preview Lab → · Contrast checker → · Palette generator →

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