#47147B#47147B

#47147B is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.158 H 300.1°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#47147B
RGBrgb(71, 20, 123)
HSLhsl(270, 72%, 28%)
HSVhsv(270, 84%, 48%)
CMYKcmyk(42.3%, 83.7%, 0%, 51.8%)
CIE-LABlab(21.09, 43.77, -47.86)
CIE-LCHlch(21.09, 64.86, 312.44°)
OKLaboklab(33.99% 0.0793 -0.1369)
OKLCHoklch(33.99% 0.158 300.1)
XYZxyz(6.4229, 3.2699, 19.0278)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47147B #487B14
analogous
#14147B #47147B #7A147B
triadic
#47147B #7B4714 #147B47
tetradic
#47147B #7B1414 #487B14 #147B7A
square
#47147B #7B1414 #487B14 #147B7A
split-complementary
#47147B #7B7A14 #147B14
monochromatic
#0F041A #290B46 #47147B #651DB0 #842DDD

Accessibility & contrast

On white

12.70
#47147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#47147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47147B
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47147B#FFFFFF#000000##FFFFFF
##47147B1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#3B3148
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #47147b;
/* rgb */ color: rgb(71, 20, 123);
/* oklch */ color: oklch(34.0% 0.158 300.1);
Tailwind
colors: {
  custom: {
    50: '#8059a2',
    500: '#47147b',
    950: '#000000',
  },
}
SCSS
$custom: #47147b;
$custom-light: #8059a2;
$custom-dark: #000000;
JSON
{
  "hex": "#47147b",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 269.709,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33987,
    "c": 0.15821,
    "h": 300.1
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#47147B
secondary
#76B13A
accent
#EF3995
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47147B

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

Preview Lab → · Contrast checker → · Palette generator →

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