#47397A#47397A

#47397A is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.4% C 0.106 H 290.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#47397A
RGBrgb(71, 57, 122)
HSLhsl(253, 36%, 35%)
HSVhsv(253, 53%, 48%)
CMYKcmyk(41.8%, 53.3%, 0%, 52.2%)
CIE-LABlab(28.57, 23.06, -35.13)
CIE-LCHlch(28.57, 42.02, 303.29°)
OKLaboklab(39.36% 0.0374 -0.0996)
OKLCHoklch(39.36% 0.106 290.6)
XYZxyz(7.5736, 5.6708, 19.1041)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47397A #6C7A39
analogous
#394B7A #47397A #67397A
triadic
#47397A #7A4739 #397A47
tetradic
#47397A #7A394B #6C7A39 #397A67
square
#47397A #7A394B #6C7A39 #397A67
split-complementary
#47397A #7A6739 #4B7A39
monochromatic
#161227 #2F2650 #47397A #5F4CA4 #8171BD

Accessibility & contrast

On white

9.84
#47397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#47397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47397A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47397A#FFFFFF#000000##FFFFFF
##47397A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457C
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#394654
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #47397a;
/* rgb */ color: rgb(71, 57, 122);
/* oklch */ color: oklch(39.4% 0.106 290.6);
Tailwind
colors: {
  custom: {
    50: '#7d6fa1',
    500: '#47397a',
    950: '#000000',
  },
}
SCSS
$custom: #47397a;
$custom-light: #7d6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#47397a",
  "rgb": {
    "r": 71,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 252.923,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3936,
    "c": 0.10638,
    "h": 290.6
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#47397A
secondary
#99A669
accent
#CC5BB4
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #47397A

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

Preview Lab → · Contrast checker → · Palette generator →

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