#47156F#47156F

#47156F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.144 H 304.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#47156F
RGBrgb(71, 21, 111)
HSLhsl(273, 68%, 26%)
HSVhsv(273, 81%, 44%)
CMYKcmyk(36%, 81.1%, 0%, 56.5%)
CIE-LABlab(20.14, 40.35, -41.71)
CIE-LCHlch(20.14, 58.03, 314.05°)
OKLaboklab(32.98% 0.0821 -0.1188)
OKLCHoklch(32.98% 0.144 304.6)
XYZxyz(5.7353, 3.0236, 15.3173)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47156F #3D6F15
analogous
#1A156F #47156F #6F156A
triadic
#47156F #6F4715 #156F47
tetradic
#47156F #6F1A15 #3D6F15 #156A6F
square
#47156F #6F1A15 #3D6F15 #156A6F
split-complementary
#47156F #6A6F15 #156F1A
monochromatic
#10051A #260B3C #47156F #681FA2 #8928D6

Accessibility & contrast

On white

13.09
#47156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#47156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47156F
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47156F#FFFFFF#000000##FFFFFF
##47156F1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#3F2C42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47156f;
/* rgb */ color: rgb(71, 21, 111);
/* oklch */ color: oklch(33.0% 0.144 304.6);
Tailwind
colors: {
  custom: {
    50: '#7f5999',
    500: '#47156f',
    950: '#000000',
  },
}
SCSS
$custom: #47156f;
$custom-light: #7f5999;
$custom-dark: #000000;
JSON
{
  "hex": "#47156f",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 273.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32982,
    "c": 0.14444,
    "h": 304.6
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#47156F
secondary
#6AA53A
accent
#EB3D8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #47156F

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

Preview Lab → · Contrast checker → · Palette generator →

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