#47197C#47197C

#47197C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.154 H 299.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#47197C
RGBrgb(71, 25, 124)
HSLhsl(268, 66%, 29%)
HSVhsv(268, 80%, 49%)
CMYKcmyk(42.7%, 79.8%, 0%, 51.4%)
CIE-LABlab(21.91, 41.94, -47.17)
CIE-LCHlch(21.91, 63.12, 311.64°)
OKLaboklab(34.58% 0.0748 -0.1349)
OKLCHoklch(34.58% 0.154 299)
XYZxyz(6.5833, 3.4900, 19.3917)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47197C #4E7C19
analogous
#191C7C #47197C #79197C
triadic
#47197C #7C4719 #197C47
tetradic
#47197C #7C191C #4E7C19 #197C79
square
#47197C #7C191C #4E7C19 #197C79
split-complementary
#47197C #7C7919 #1C7C19
monochromatic
#0F0519 #2A0F49 #47197C #6423AF #8238D7

Accessibility & contrast

On white

12.37
#47197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#47197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47197C
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47197C#FFFFFF#000000##FFFFFF
##47197C1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#3A344A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #47197c;
/* rgb */ color: rgb(71, 25, 124);
/* oklch */ color: oklch(34.6% 0.154 299.0);
Tailwind
colors: {
  custom: {
    50: '#805ba3',
    500: '#47197c',
    950: '#000000',
  },
}
SCSS
$custom: #47197c;
$custom-light: #805ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#47197c",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 267.879,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34583,
    "c": 0.15427,
    "h": 299
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#47197C
secondary
#7CB040
accent
#E93E9A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #47197C

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

Preview Lab → · Contrast checker → · Palette generator →

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