#47229F#47229F

#47229F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.185 H 288.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#47229F
RGBrgb(71, 34, 159)
HSLhsl(258, 65%, 38%)
HSVhsv(258, 79%, 62%)
CMYKcmyk(55.3%, 78.6%, 0%, 37.6%)
CIE-LABlab(26.70, 47.41, -61.08)
CIE-LCHlch(26.70, 77.32, 307.82°)
OKLaboklab(38.95% 0.0571 -0.1757)
OKLCHoklch(38.95% 0.185 288)
XYZxyz(9.4267, 4.9864, 33.2599)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47229F #7A9F22
analogous
#223B9F #47229F #85229F
triadic
#47229F #9F4722 #229F47
tetradic
#47229F #9F223B #7A9F22 #229F85
square
#47229F #9F223B #7A9F22 #229F85
split-complementary
#47229F #9F8522 #3B9F22
monochromatic
#1A0C3A #30176D #47229F #5E2DD1 #845FDD

Accessibility & contrast

On white

10.51
#47229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#47229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47229F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47229F#FFFFFF#000000##FFFFFF
##47229F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#224660
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #47229f;
/* rgb */ color: rgb(71, 34, 159);
/* oklch */ color: oklch(38.9% 0.185 288.0);
Tailwind
colors: {
  custom: {
    50: '#8562bd',
    500: '#47229f',
    950: '#000000',
  },
}
SCSS
$custom: #47229f;
$custom-light: #8562bd;
$custom-dark: #000000;
JSON
{
  "hex": "#47229f",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 257.76,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38948,
    "c": 0.1848,
    "h": 288
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#47229F
secondary
#A3C15B
accent
#E840B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47229F

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

Preview Lab → · Contrast checker → · Palette generator →

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