#47186B#47186B

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

Color values

HEX#47186B
RGBrgb(71, 24, 107)
HSLhsl(274, 63%, 26%)
HSVhsv(274, 78%, 42%)
CMYKcmyk(33.6%, 77.6%, 0%, 58%)
CIE-LABlab(20.26, 38.01, -38.91)
CIE-LCHlch(20.26, 54.40, 314.33°)
OKLaboklab(32.96% 0.0801 -0.1106)
OKLCHoklch(32.96% 0.137 305.9)
XYZxyz(5.5784, 3.0544, 14.2028)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47186B #3C6B18
analogous
#1D186B #47186B #6B1865
triadic
#47186B #6B4718 #186B47
tetradic
#47186B #6B1D18 #3C6B18 #18656B
square
#47186B #6B1D18 #3C6B18 #18656B
split-complementary
#47186B #656B18 #186B1D
monochromatic
#110619 #260D39 #47186B #68239D #892ECF

Accessibility & contrast

On white

13.04
#47186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#47186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47186B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47186B#FFFFFF#000000##FFFFFF
##47186B1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#412C40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #47186b;
/* rgb */ color: rgb(71, 24, 107);
/* oklch */ color: oklch(33.0% 0.137 305.9);
Tailwind
colors: {
  custom: {
    50: '#7e5a96',
    500: '#47186b',
    950: '#000000',
  },
}
SCSS
$custom: #47186b;
$custom-light: #7e5a96;
$custom-dark: #000000;
JSON
{
  "hex": "#47186b",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 273.976,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32961,
    "c": 0.13659,
    "h": 305.9
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#47186B
secondary
#69A13E
accent
#E64189
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #47186B

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

Preview Lab → · Contrast checker → · Palette generator →

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