#47339A#47339A

#47339A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.159 H 285.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#47339A
RGBrgb(71, 51, 154)
HSLhsl(252, 50%, 40%)
HSVhsv(252, 67%, 60%)
CMYKcmyk(53.9%, 66.9%, 0%, 39.6%)
CIE-LABlab(29.51, 36.79, -53.42)
CIE-LCHlch(29.51, 64.86, 304.55°)
OKLaboklab(40.81% 0.0436 -0.1534)
OKLCHoklch(40.81% 0.159 285.9)
XYZxyz(9.6134, 6.0398, 31.2248)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47339A #869A33
analogous
#33539A #47339A #7A339A
triadic
#47339A #9A4733 #339A47
tetradic
#47339A #9A3353 #869A33 #339A7A
square
#47339A #9A3353 #869A33 #339A7A
split-complementary
#47339A #9A7A33 #539A33
monochromatic
#1D153E #32246C #47339A #6048C2 #8876D2

Accessibility & contrast

On white

9.51
#47339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#47339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47339A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47339A#FFFFFF#000000##FFFFFF
##47339A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#254D62
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #47339a;
/* rgb */ color: rgb(71, 51, 154);
/* oklch */ color: oklch(40.8% 0.159 285.9);
Tailwind
colors: {
  custom: {
    50: '#826cb9',
    500: '#47339a',
    950: '#000000',
  },
}
SCSS
$custom: #47339a;
$custom-light: #826cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#47339a",
  "rgb": {
    "r": 71,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 251.65,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.15944,
    "h": 285.9
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#47339A
secondary
#ABBA6F
accent
#DA4EBF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #47339A

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

Preview Lab → · Contrast checker → · Palette generator →

#47339A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva