#47198B#47198B

#47198B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.171 H 294.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#47198B
RGBrgb(71, 25, 139)
HSLhsl(264, 70%, 32%)
HSVhsv(264, 82%, 55%)
CMYKcmyk(48.9%, 82%, 0%, 45.5%)
CIE-LABlab(23.33, 45.91, -54.28)
CIE-LCHlch(23.33, 71.09, 310.23°)
OKLaboklab(36.01% 0.0701 -0.1558)
OKLCHoklch(36.01% 0.171 294.2)
XYZxyz(7.6051, 3.8987, 24.7729)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47198B #5D8B19
analogous
#19248B #47198B #80198B
triadic
#47198B #8B4719 #198B47
tetradic
#47198B #8B1924 #5D8B19 #198B80
square
#47198B #8B1924 #5D8B19 #198B80
split-complementary
#47198B #8B8019 #248B19
monochromatic
#120623 #2D1057 #47198B #6122BF #8041DD

Accessibility & contrast

On white

11.80
#47198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#47198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47198B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47198B#FFFFFF#000000##FFFFFF
##47198B1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#323A53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47198b;
/* rgb */ color: rgb(71, 25, 139);
/* oklch */ color: oklch(36.0% 0.171 294.2);
Tailwind
colors: {
  custom: {
    50: '#825cae',
    500: '#47198b',
    950: '#000000',
  },
}
SCSS
$custom: #47198b;
$custom-light: #825cae;
$custom-dark: #000000;
JSON
{
  "hex": "#47198b",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 264.211,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36011,
    "c": 0.17081,
    "h": 294.2
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#47198B
secondary
#8CBE42
accent
#EC3BA5
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #47198B

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

Preview Lab → · Contrast checker → · Palette generator →

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