#47198C#47198C

#47198C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.172 H 293.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#47198C
RGBrgb(71, 25, 140)
HSLhsl(264, 70%, 32%)
HSVhsv(264, 82%, 55%)
CMYKcmyk(49.3%, 82.1%, 0%, 45.1%)
CIE-LABlab(23.43, 46.18, -54.74)
CIE-LCHlch(23.43, 71.62, 310.15°)
OKLaboklab(36.11% 0.0698 -0.1571)
OKLCHoklch(36.11% 0.172 293.9)
XYZxyz(7.6785, 3.9281, 25.1595)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47198C #5E8C19
analogous
#19258C #47198C #81198C
triadic
#47198C #8C4719 #198C47
tetradic
#47198C #8C1925 #5E8C19 #198C81
square
#47198C #8C1925 #5E8C19 #198C81
split-complementary
#47198C #8C8119 #258C19
monochromatic
#120624 #2D1058 #47198C #6122C0 #8042DD

Accessibility & contrast

On white

11.76
#47198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#47198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47198C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47198C#FFFFFF#000000##FFFFFF
##47198C1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#323A53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47198c;
/* rgb */ color: rgb(71, 25, 140);
/* oklch */ color: oklch(36.1% 0.172 293.9);
Tailwind
colors: {
  custom: {
    50: '#825caf',
    500: '#47198c',
    950: '#000000',
  },
}
SCSS
$custom: #47198c;
$custom-light: #825caf;
$custom-dark: #000000;
JSON
{
  "hex": "#47198c",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 264,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3611,
    "c": 0.17191,
    "h": 293.9
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#47198C
secondary
#8DBE43
accent
#ED3BA6
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #47198C

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

Preview Lab → · Contrast checker → · Palette generator →

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