#47378D#47378D

#47378D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.4% C 0.137 H 287.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#47378D
RGBrgb(71, 55, 141)
HSLhsl(251, 44%, 38%)
HSVhsv(251, 61%, 55%)
CMYKcmyk(49.6%, 61%, 0%, 44.7%)
CIE-LABlab(29.40, 30.26, -45.63)
CIE-LCHlch(29.40, 54.75, 303.55°)
OKLaboklab(40.4% 0.0403 -0.1305)
OKLCHoklch(40.4% 0.137 287.2)
XYZxyz(8.7710, 5.9947, 25.8891)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47378D #7D8D37
analogous
#37528D #47378D #72378D
triadic
#47378D #8D4737 #378D47
tetradic
#47378D #8D3752 #7D8D37 #378D72
square
#47378D #8D3752 #7D8D37 #378D72
split-complementary
#47378D #8D7237 #528D37
monochromatic
#1B1535 #312661 #47378D #5E49B8 #8575C9

Accessibility & contrast

On white

9.55
#47378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#47378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47378D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47378D#FFFFFF#000000##FFFFFF
##47378D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#2F4B5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #47378d;
/* rgb */ color: rgb(71, 55, 141);
/* oklch */ color: oklch(40.4% 0.137 287.2);
Tailwind
colors: {
  custom: {
    50: '#806eaf',
    500: '#47378d',
    950: '#000000',
  },
}
SCSS
$custom: #47378d;
$custom-light: #806eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#47378d",
  "rgb": {
    "r": 71,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 251.163,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40402,
    "c": 0.13655,
    "h": 287.2
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#47378D
secondary
#A5B26E
accent
#D454BC
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #47378D

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

Preview Lab → · Contrast checker → · Palette generator →

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