#47198D#47198D

#47198D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.173 H 293.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#47198D
RGBrgb(71, 25, 141)
HSLhsl(264, 70%, 33%)
HSVhsv(264, 82%, 55%)
CMYKcmyk(49.6%, 82.3%, 0%, 44.7%)
CIE-LABlab(23.53, 46.45, -55.20)
CIE-LCHlch(23.53, 72.14, 310.08°)
OKLaboklab(36.21% 0.0694 -0.1585)
OKLCHoklch(36.21% 0.173 293.7)
XYZxyz(7.7525, 3.9577, 25.5496)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47198D #5F8D19
analogous
#19258D #47198D #81198D
triadic
#47198D #8D4719 #198D47
tetradic
#47198D #8D1925 #5F8D19 #198D81
square
#47198D #8D1925 #5F8D19 #198D81
split-complementary
#47198D #8D8119 #258D19
monochromatic
#130725 #2D1059 #47198D #6122C1 #8043DE

Accessibility & contrast

On white

11.72
#47198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47198D
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47198D#FFFFFF#000000##FFFFFF
##47198D1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#313B54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47198d;
/* rgb */ color: rgb(71, 25, 141);
/* oklch */ color: oklch(36.2% 0.173 293.7);
Tailwind
colors: {
  custom: {
    50: '#825caf',
    500: '#47198d',
    950: '#000000',
  },
}
SCSS
$custom: #47198d;
$custom-light: #825caf;
$custom-dark: #000000;
JSON
{
  "hex": "#47198d",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 263.793,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36208,
    "c": 0.173,
    "h": 293.7
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#47198D
secondary
#8EBF43
accent
#ED3BA6
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #47198D

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

Preview Lab → · Contrast checker → · Palette generator →

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