#47339E#47339E

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

Color values

HEX#47339E
RGBrgb(71, 51, 158)
HSLhsl(251, 51%, 41%)
HSVhsv(251, 68%, 62%)
CMYKcmyk(55.1%, 67.7%, 0%, 38%)
CIE-LABlab(29.85, 38.03, -55.30)
CIE-LCHlch(29.85, 67.12, 304.52°)
OKLaboklab(41.16% 0.043 -0.1589)
OKLCHoklch(41.16% 0.165 285.1)
XYZxyz(9.9521, 6.1753, 33.0087)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47339E #8A9E33
analogous
#33549E #47339E #7C339E
triadic
#47339E #9E4733 #339E47
tetradic
#47339E #9E3354 #8A9E33 #339E7C
square
#47339E #9E3354 #8A9E33 #339E7C
split-complementary
#47339E #9E7C33 #549E33
monochromatic
#1D1541 #322470 #47339E #614AC4 #8978D3

Accessibility & contrast

On white

9.40
#47339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47339E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47339E#FFFFFF#000000##FFFFFF
##47339E1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#214E64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #47339e;
/* rgb */ color: rgb(71, 51, 158);
/* oklch */ color: oklch(41.2% 0.165 285.1);
Tailwind
colors: {
  custom: {
    50: '#836cbc',
    500: '#47339e',
    950: '#000000',
  },
}
SCSS
$custom: #47339e;
$custom-light: #836cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#47339e",
  "rgb": {
    "r": 71,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 251.215,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.16462,
    "h": 285.1
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #47339E

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

Preview Lab → · Contrast checker → · Palette generator →

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