#47339F#47339F

#47339F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.166 H 285.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#47339F
RGBrgb(71, 51, 159)
HSLhsl(251, 51%, 41%)
HSVhsv(251, 68%, 62%)
CMYKcmyk(55.3%, 67.9%, 0%, 37.6%)
CIE-LABlab(29.94, 38.35, -55.77)
CIE-LCHlch(29.94, 67.68, 304.51°)
OKLaboklab(41.25% 0.0429 -0.1603)
OKLCHoklch(41.25% 0.166 285)
XYZxyz(10.0385, 6.2099, 33.4638)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47339F #8B9F33
analogous
#33559F #47339F #7D339F
triadic
#47339F #9F4733 #339F47
tetradic
#47339F #9F3355 #8B9F33 #339F7D
square
#47339F #9F3355 #8B9F33 #339F7D
split-complementary
#47339F #9F7D33 #559F33
monochromatic
#1E1542 #322471 #47339F #614AC5 #8979D4

Accessibility & contrast

On white

9.37
#47339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#47339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47339F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47339F#FFFFFF#000000##FFFFFF
##47339F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#204E64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #47339f;
/* rgb */ color: rgb(71, 51, 159);
/* oklch */ color: oklch(41.2% 0.166 285.0);
Tailwind
colors: {
  custom: {
    50: '#836cbc',
    500: '#47339f',
    950: '#000000',
  },
}
SCSS
$custom: #47339f;
$custom-light: #836cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#47339f",
  "rgb": {
    "r": 71,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 251.111,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.16592,
    "h": 285
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#47339F
secondary
#AEBC71
accent
#DB4DC1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #47339F

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

Preview Lab → · Contrast checker → · Palette generator →

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