#47137F#47137F

#47137F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.163 H 298.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#47137F
RGBrgb(71, 19, 127)
HSLhsl(269, 74%, 29%)
HSVhsv(269, 85%, 50%)
CMYKcmyk(44.1%, 85%, 0%, 50.2%)
CIE-LABlab(21.35, 45.16, -49.99)
CIE-LCHlch(21.35, 67.37, 312.10°)
OKLaboklab(34.28% 0.0787 -0.1431)
OKLCHoklch(34.28% 0.163 298.8)
XYZxyz(6.6612, 3.3375, 20.3678)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47137F #4B7F13
analogous
#13157F #47137F #7D137F
triadic
#47137F #7F4713 #137F47
tetradic
#47137F #7F1315 #4B7F13 #137F7D
square
#47137F #7F1315 #4B7F13 #137F7D
split-complementary
#47137F #7F7D13 #157F13
monochromatic
#0F041B #290B4A #47137F #651BB4 #832DE0

Accessibility & contrast

On white

12.59
#47137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#47137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47137F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47137F#FFFFFF#000000##FFFFFF
##47137F1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47137f;
/* rgb */ color: rgb(71, 19, 127);
/* oklch */ color: oklch(34.3% 0.163 298.8);
Tailwind
colors: {
  custom: {
    50: '#8159a5',
    500: '#47137f',
    950: '#000000',
  },
}
SCSS
$custom: #47137f;
$custom-light: #8159a5;
$custom-dark: #000000;
JSON
{
  "hex": "#47137f",
  "rgb": {
    "r": 71,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 268.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3428,
    "c": 0.16332,
    "h": 298.8
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#47137F
secondary
#79B439
accent
#F13797
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47137F

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

Preview Lab → · Contrast checker → · Palette generator →

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