#47186F#47186F

#47186F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.141 H 304.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#47186F
RGBrgb(71, 24, 111)
HSLhsl(272, 64%, 26%)
HSVhsv(272, 78%, 44%)
CMYKcmyk(36%, 78.4%, 0%, 56.5%)
CIE-LABlab(20.60, 39.03, -40.96)
CIE-LCHlch(20.60, 56.58, 313.62°)
OKLaboklab(33.31% 0.0792 -0.1167)
OKLCHoklch(33.31% 0.141 304.2)
XYZxyz(5.7938, 3.1406, 15.3368)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47186F #406F18
analogous
#1C186F #47186F #6F186C
triadic
#47186F #6F4718 #186F47
tetradic
#47186F #6F1C18 #406F18 #186C6F
square
#47186F #6F1C18 #406F18 #186C6F
split-complementary
#47186F #6C6F18 #186F1C
monochromatic
#100519 #270D3D #47186F #6723A1 #872FD2

Accessibility & contrast

On white

12.90
#47186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#47186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47186F
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47186F#FFFFFF#000000##FFFFFF
##47186F1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#3F2E42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #47186f;
/* rgb */ color: rgb(71, 24, 111);
/* oklch */ color: oklch(33.3% 0.141 304.2);
Tailwind
colors: {
  custom: {
    50: '#7f5a99',
    500: '#47186f',
    950: '#000000',
  },
}
SCSS
$custom: #47186f;
$custom-light: #7f5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#47186f",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 272.414,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.141,
    "h": 304.2
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#47186F
secondary
#6DA53E
accent
#E7408D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #47186F

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

Preview Lab → · Contrast checker → · Palette generator →

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