#47197A#47197A

#47197A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.152 H 299.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#47197A
RGBrgb(71, 25, 122)
HSLhsl(268, 66%, 29%)
HSVhsv(268, 80%, 48%)
CMYKcmyk(41.8%, 79.5%, 0%, 52.2%)
CIE-LABlab(21.73, 41.42, -46.19)
CIE-LCHlch(21.73, 62.04, 311.88°)
OKLaboklab(34.4% 0.0754 -0.132)
OKLCHoklch(34.4% 0.152 299.7)
XYZxyz(6.4581, 3.4399, 18.7323)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47197A #4C7A19
analogous
#191C7A #47197A #78197A
triadic
#47197A #7A4719 #197A47
tetradic
#47197A #7A191C #4C7A19 #197A78
square
#47197A #7A191C #4C7A19 #197A78
split-complementary
#47197A #7A7819 #1C7A19
monochromatic
#0F0519 #290F47 #47197A #6523AD #8337D6

Accessibility & contrast

On white

12.44
#47197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#47197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47197A
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47197A#FFFFFF#000000##FFFFFF
##47197A1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47197a;
/* rgb */ color: rgb(71, 25, 122);
/* oklch */ color: oklch(34.4% 0.152 299.7);
Tailwind
colors: {
  custom: {
    50: '#805ba1',
    500: '#47197a',
    950: '#000000',
  },
}
SCSS
$custom: #47197a;
$custom-light: #805ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#47197a",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 268.454,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34399,
    "c": 0.15205,
    "h": 299.7
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#47197A
secondary
#7AAF40
accent
#E93F98
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47197A

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

Preview Lab → · Contrast checker → · Palette generator →

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