#47388D#47388D

#47388D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.6% C 0.135 H 286.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#47388D
RGBrgb(71, 56, 141)
HSLhsl(251, 43%, 39%)
HSVhsv(251, 60%, 55%)
CMYKcmyk(49.6%, 60.3%, 0%, 44.7%)
CIE-LABlab(29.64, 29.63, -45.24)
CIE-LCHlch(29.64, 54.08, 303.23°)
OKLaboklab(40.58% 0.0392 -0.1293)
OKLCHoklch(40.58% 0.135 286.9)
XYZxyz(8.8190, 6.0906, 25.9051)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47388D #7E8D38
analogous
#38538D #47388D #71388D
triadic
#47388D #8D4738 #388D47
tetradic
#47388D #8D3853 #7E8D38 #388D71
square
#47388D #8D3853 #7E8D38 #388D71
split-complementary
#47388D #8D7138 #538D38
monochromatic
#1B1535 #312761 #47388D #5E4BB7 #8577C9

Accessibility & contrast

On white

9.47
#47388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#47388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47388D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47388D#FFFFFF#000000##FFFFFF
##47388D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#2F4B5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #47388d;
/* rgb */ color: rgb(71, 56, 141);
/* oklch */ color: oklch(40.6% 0.135 286.9);
Tailwind
colors: {
  custom: {
    50: '#806faf',
    500: '#47388d',
    950: '#000000',
  },
}
SCSS
$custom: #47388d;
$custom-light: #806faf;
$custom-dark: #000000;
JSON
{
  "hex": "#47388d",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 250.588,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.13511,
    "h": 286.9
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#47388D
secondary
#A6B26F
accent
#D355BD
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #47388D

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

Preview Lab → · Contrast checker → · Palette generator →

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