#47137E#47137E

#47137E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.162 H 299.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#47137E
RGBrgb(71, 19, 126)
HSLhsl(269, 74%, 28%)
HSVhsv(269, 85%, 49%)
CMYKcmyk(43.7%, 84.9%, 0%, 50.6%)
CIE-LABlab(21.25, 44.91, -49.51)
CIE-LCHlch(21.25, 66.85, 312.21°)
OKLaboklab(34.18% 0.079 -0.1417)
OKLCHoklch(34.18% 0.162 299.1)
XYZxyz(6.5963, 3.3116, 20.0263)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47137E #4A7E13
analogous
#13147E #47137E #7C137E
triadic
#47137E #7E4713 #137E47
tetradic
#47137E #7E1314 #4A7E13 #137E7C
square
#47137E #7E1314 #4A7E13 #137E7C
split-complementary
#47137E #7E7C13 #147E13
monochromatic
#0F041B #290B49 #47137E #651BB3 #832CDF

Accessibility & contrast

On white

12.63
#47137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#47137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47137E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47137E#FFFFFF#000000##FFFFFF
##47137E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#39324A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #47137e;
/* rgb */ color: rgb(71, 19, 126);
/* oklch */ color: oklch(34.2% 0.162 299.1);
Tailwind
colors: {
  custom: {
    50: '#8159a4',
    500: '#47137e',
    950: '#000000',
  },
}
SCSS
$custom: #47137e;
$custom-light: #8159a4;
$custom-dark: #000000;
JSON
{
  "hex": "#47137e",
  "rgb": {
    "r": 71,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 269.159,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34183,
    "c": 0.16227,
    "h": 299.1
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#47137E
secondary
#78B439
accent
#F03796
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47137E

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

Preview Lab → · Contrast checker → · Palette generator →

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