#47378E#47378E

#47378E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.138 H 287.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#47378E
RGBrgb(71, 55, 142)
HSLhsl(251, 44%, 39%)
HSVhsv(251, 61%, 56%)
CMYKcmyk(50%, 61.3%, 0%, 44.3%)
CIE-LABlab(29.47, 30.58, -46.12)
CIE-LCHlch(29.47, 55.34, 303.54°)
OKLaboklab(40.48% 0.0403 -0.1319)
OKLCHoklch(40.48% 0.138 287)
XYZxyz(8.8458, 6.0246, 26.2827)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47378E #7E8E37
analogous
#37528E #47378E #72378E
triadic
#47378E #8E4737 #378E47
tetradic
#47378E #8E3752 #7E8E37 #378E72
square
#47378E #8E3752 #7E8E37 #378E72
split-complementary
#47378E #8E7237 #528E37
monochromatic
#1B1536 #312662 #47378E #5E49B9 #8576CA

Accessibility & contrast

On white

9.52
#47378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#47378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47378E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47378E#FFFFFF#000000##FFFFFF
##47378E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#2E4B5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #47378e;
/* rgb */ color: rgb(71, 55, 142);
/* oklch */ color: oklch(40.5% 0.138 287.0);
Tailwind
colors: {
  custom: {
    50: '#806eb0',
    500: '#47378e',
    950: '#000000',
  },
}
SCSS
$custom: #47378e;
$custom-light: #806eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#47378e",
  "rgb": {
    "r": 71,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 251.034,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40481,
    "c": 0.13794,
    "h": 287
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#47378E
secondary
#A6B36E
accent
#D454BC
background
#F8F6FA
surface
#EFECF5
border
#CAC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #47378E

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

Preview Lab → · Contrast checker → · Palette generator →

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