#47388E#47388E

#47388E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.7% C 0.137 H 286.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#47388E
RGBrgb(71, 56, 142)
HSLhsl(250, 43%, 39%)
HSVhsv(250, 61%, 56%)
CMYKcmyk(50%, 60.6%, 0%, 44.3%)
CIE-LABlab(29.71, 29.95, -45.74)
CIE-LCHlch(29.71, 54.67, 303.22°)
OKLaboklab(40.66% 0.0391 -0.1308)
OKLCHoklch(40.66% 0.137 286.7)
XYZxyz(8.8938, 6.1205, 26.2987)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47388E #7F8E38
analogous
#38548E #47388E #72388E
triadic
#47388E #8E4738 #388E47
tetradic
#47388E #8E3854 #7F8E38 #388E72
square
#47388E #8E3854 #7F8E38 #388E72
split-complementary
#47388E #8E7238 #548E38
monochromatic
#1B1536 #312762 #47388E #5E4BB8 #8577C9

Accessibility & contrast

On white

9.44
#47388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47388E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47388E#FFFFFF#000000##FFFFFF
##47388E1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#2E4C5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #47388e;
/* rgb */ color: rgb(71, 56, 142);
/* oklch */ color: oklch(40.7% 0.137 286.7);
Tailwind
colors: {
  custom: {
    50: '#806fb0',
    500: '#47388e',
    950: '#000000',
  },
}
SCSS
$custom: #47388e;
$custom-light: #806fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#47388e",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 250.465,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40657,
    "c": 0.1365,
    "h": 286.7
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#47388E
secondary
#A7B26F
accent
#D355BD
background
#F8F6FA
surface
#EFECF5
border
#CAC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #47388E

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

Preview Lab → · Contrast checker → · Palette generator →

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