#47186C#47186C

#47186C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.138 H 305.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#47186C
RGBrgb(71, 24, 108)
HSLhsl(274, 64%, 26%)
HSVhsv(274, 78%, 42%)
CMYKcmyk(34.3%, 77.8%, 0%, 57.6%)
CIE-LABlab(20.34, 38.27, -39.43)
CIE-LCHlch(20.34, 54.94, 314.14°)
OKLaboklab(33.05% 0.0799 -0.1121)
OKLCHoklch(33.05% 0.138 305.5)
XYZxyz(5.6313, 3.0756, 14.4814)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47186C #3D6C18
analogous
#1D186C #47186C #6C1867
triadic
#47186C #6C4718 #186C47
tetradic
#47186C #6C1D18 #3D6C18 #18676C
square
#47186C #6C1D18 #3D6C18 #18676C
split-complementary
#47186C #676C18 #186C1D
monochromatic
#100619 #260D3A #47186C #68239E #892ED0

Accessibility & contrast

On white

13.00
#47186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#47186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47186C
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47186C#FFFFFF#000000##FFFFFF
##47186C1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#402C41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47186c;
/* rgb */ color: rgb(71, 24, 108);
/* oklch */ color: oklch(33.0% 0.138 305.5);
Tailwind
colors: {
  custom: {
    50: '#7e5a97',
    500: '#47186c',
    950: '#000000',
  },
}
SCSS
$custom: #47186c;
$custom-light: #7e5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#47186c",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 273.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33047,
    "c": 0.13769,
    "h": 305.5
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#47186C
secondary
#6AA23E
accent
#E7418A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #47186C

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

Preview Lab → · Contrast checker → · Palette generator →

#47186C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva