#47397D#47397D

#47397D is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.111 H 289.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#47397D
RGBrgb(71, 57, 125)
HSLhsl(252, 37%, 36%)
HSVhsv(252, 54%, 49%)
CMYKcmyk(43.2%, 54.4%, 0%, 51%)
CIE-LABlab(28.76, 23.99, -36.70)
CIE-LCHlch(28.76, 43.84, 303.17°)
OKLaboklab(39.57% 0.0376 -0.1042)
OKLCHoklch(39.57% 0.111 289.9)
XYZxyz(7.7623, 5.7463, 20.0982)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47397D #6F7D39
analogous
#394D7D #47397D #69397D
triadic
#47397D #7D4739 #397D47
tetradic
#47397D #7D394D #6F7D39 #397D69
square
#47397D #7D394D #6F7D39 #397D69
split-complementary
#47397D #7D6939 #4D7D39
monochromatic
#171329 #2F2653 #47397D #5F4CA7 #8272BF

Accessibility & contrast

On white

9.77
#47397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#47397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47397D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47397D#FFFFFF#000000##FFFFFF
##47397D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#1C427B
Tritanopia (blue-blind)
#384755
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #47397d;
/* rgb */ color: rgb(71, 57, 125);
/* oklch */ color: oklch(39.6% 0.111 289.9);
Tailwind
colors: {
  custom: {
    50: '#7e6fa3',
    500: '#47397d',
    950: '#000000',
  },
}
SCSS
$custom: #47397d;
$custom-light: #7e6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#47397d",
  "rgb": {
    "r": 71,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 252.353,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3957,
    "c": 0.11078,
    "h": 289.9
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#47397D
secondary
#9BA86A
accent
#CD5AB6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #47397D

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

Preview Lab → · Contrast checker → · Palette generator →

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