#47348F#47348F

#47348F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.0% C 0.144 H 287.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#47348F
RGBrgb(71, 52, 143)
HSLhsl(253, 47%, 38%)
HSVhsv(253, 64%, 56%)
CMYKcmyk(50.3%, 63.6%, 0%, 43.9%)
CIE-LABlab(28.85, 32.75, -47.76)
CIE-LCHlch(28.85, 57.91, 304.44°)
OKLaboklab(40.05% 0.0436 -0.1367)
OKLCHoklch(40.05% 0.144 287.7)
XYZxyz(8.7830, 5.7784, 26.6338)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47348F #7C8F34
analogous
#344E8F #47348F #74348F
triadic
#47348F #8F4734 #348F47
tetradic
#47348F #8F344E #7C8F34 #348F74
square
#47348F #8F344E #7C8F34 #348F74
split-complementary
#47348F #8F7434 #4E8F34
monochromatic
#1A1335 #312462 #47348F #5E45BB #8572CC

Accessibility & contrast

On white

9.74
#47348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#47348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47348F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47348F#FFFFFF#000000##FFFFFF
##47348F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#2E4A5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #47348f;
/* rgb */ color: rgb(71, 52, 143);
/* oklch */ color: oklch(40.0% 0.144 287.7);
Tailwind
colors: {
  custom: {
    50: '#816cb0',
    500: '#47348f',
    950: '#000000',
  },
}
SCSS
$custom: #47348f;
$custom-light: #816cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#47348f",
  "rgb": {
    "r": 71,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 252.527,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.14353,
    "h": 287.7
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#47348F
secondary
#A5B46B
accent
#D651BB
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #47348F

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

Preview Lab → · Contrast checker → · Palette generator →

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