#47156B#47156B

#47156B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.140 H 306.4°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#47156B
RGBrgb(71, 21, 107)
HSLhsl(275, 67%, 25%)
HSVhsv(275, 80%, 42%)
CMYKcmyk(33.6%, 80.4%, 0%, 58%)
CIE-LABlab(19.79, 39.35, -39.67)
CIE-LCHlch(19.79, 55.88, 314.77°)
OKLaboklab(32.63% 0.0831 -0.1128)
OKLCHoklch(32.63% 0.14 306.4)
XYZxyz(5.5200, 2.9375, 14.1833)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47156B #396B15
analogous
#1C156B #47156B #6B1564
triadic
#47156B #6B4715 #156B47
tetradic
#47156B #6B1C15 #396B15 #15646B
square
#47156B #6B1C15 #396B15 #15646B
split-complementary
#47156B #646B15 #156B1C
monochromatic
#11051A #250B38 #47156B #691F9E #8B29D1

Accessibility & contrast

On white

13.23
#47156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#47156B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47156B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47156B#FFFFFF#000000##FFFFFF
##47156B1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#412B3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #47156b;
/* rgb */ color: rgb(71, 21, 107);
/* oklch */ color: oklch(32.6% 0.140 306.4);
Tailwind
colors: {
  custom: {
    50: '#7e5996',
    500: '#47156b',
    950: '#000000',
  },
}
SCSS
$custom: #47156b;
$custom-light: #7e5996;
$custom-dark: #000000;
JSON
{
  "hex": "#47156b",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 274.884,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.14015,
    "h": 306.4
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#47156B
secondary
#65A23A
accent
#EA3E86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #47156B

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

Preview Lab → · Contrast checker → · Palette generator →

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