#47397E#47397E

#47397E is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.6% C 0.112 H 289.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#47397E
RGBrgb(71, 57, 126)
HSLhsl(252, 38%, 36%)
HSVhsv(252, 55%, 49%)
CMYKcmyk(43.7%, 54.8%, 0%, 50.6%)
CIE-LABlab(28.83, 24.30, -37.22)
CIE-LCHlch(28.83, 44.45, 303.14°)
OKLaboklab(39.64% 0.0377 -0.1057)
OKLCHoklch(39.64% 0.112 289.6)
XYZxyz(7.8265, 5.7719, 20.4363)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47397E #707E39
analogous
#394D7E #47397E #69397E
triadic
#47397E #7E4739 #397E47
tetradic
#47397E #7E394D #707E39 #397E69
square
#47397E #7E394D #707E39 #397E69
split-complementary
#47397E #7E6939 #4D7E39
monochromatic
#18132A #2F2654 #47397E #5F4CA8 #8272BF

Accessibility & contrast

On white

9.75
#47397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47397E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47397E#FFFFFF#000000##FFFFFF
##47397E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#374856
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #47397e;
/* rgb */ color: rgb(71, 57, 126);
/* oklch */ color: oklch(39.6% 0.112 289.6);
Tailwind
colors: {
  custom: {
    50: '#7e6fa4',
    500: '#47397e',
    950: '#000000',
  },
}
SCSS
$custom: #47397e;
$custom-light: #7e6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#47397e",
  "rgb": {
    "r": 71,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 252.174,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39641,
    "c": 0.11224,
    "h": 289.6
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#47397E
secondary
#9CA86A
accent
#CE5AB6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #47397E

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

Preview Lab → · Contrast checker → · Palette generator →

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