#47187A#47187A

#47187A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.153 H 299.9°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#47187A
RGBrgb(71, 24, 122)
HSLhsl(269, 67%, 29%)
HSVhsv(269, 80%, 48%)
CMYKcmyk(41.8%, 80.3%, 0%, 52.2%)
CIE-LABlab(21.57, 41.86, -46.44)
CIE-LCHlch(21.57, 62.52, 312.03°)
OKLaboklab(34.29% 0.0763 -0.1328)
OKLCHoklch(34.29% 0.153 299.9)
XYZxyz(6.4371, 3.3979, 18.7253)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47187A #4B7A18
analogous
#181A7A #47187A #78187A
triadic
#47187A #7A4718 #187A47
tetradic
#47187A #7A181A #4B7A18 #187A78
square
#47187A #7A181A #4B7A18 #187A78
split-complementary
#47187A #7A7818 #1A7A18
monochromatic
#0F051A #290E47 #47187A #6522AD #8335D7

Accessibility & contrast

On white

12.50
#47187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#47187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47187A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47187A#FFFFFF#000000##FFFFFF
##47187A1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#3B3249
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #47187a;
/* rgb */ color: rgb(71, 24, 122);
/* oklch */ color: oklch(34.3% 0.153 299.9);
Tailwind
colors: {
  custom: {
    50: '#805ba1',
    500: '#47187a',
    950: '#000000',
  },
}
SCSS
$custom: #47187a;
$custom-light: #805ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#47187a",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 268.776,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34291,
    "c": 0.15312,
    "h": 299.9
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#47187A
secondary
#79AF3F
accent
#EA3E97
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47187A

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

Preview Lab → · Contrast checker → · Palette generator →

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