#47198F#47198F

#47198F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.175 H 293.1°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#47198F
RGBrgb(71, 25, 143)
HSLhsl(263, 70%, 33%)
HSVhsv(263, 83%, 56%)
CMYKcmyk(50.3%, 82.5%, 0%, 43.9%)
CIE-LABlab(23.73, 46.98, -56.12)
CIE-LCHlch(23.73, 73.19, 309.93°)
OKLaboklab(36.41% 0.0687 -0.1611)
OKLCHoklch(36.41% 0.175 293.1)
XYZxyz(7.9027, 4.0178, 26.3404)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47198F #618F19
analogous
#19268F #47198F #82198F
triadic
#47198F #8F4719 #198F47
tetradic
#47198F #8F1926 #618F19 #198F82
square
#47198F #8F1926 #618F19 #198F82
split-complementary
#47198F #8F8219 #268F19
monochromatic
#130727 #2D105B #47198F #6122C3 #8044DE

Accessibility & contrast

On white

11.64
#47198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#47198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47198F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47198F#FFFFFF#000000##FFFFFF
##47198F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#303C55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47198f;
/* rgb */ color: rgb(71, 25, 143);
/* oklch */ color: oklch(36.4% 0.175 293.1);
Tailwind
colors: {
  custom: {
    50: '#835db1',
    500: '#47198f',
    950: '#000000',
  },
}
SCSS
$custom: #47198f;
$custom-light: #835db1;
$custom-dark: #000000;
JSON
{
  "hex": "#47198f",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 263.39,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36406,
    "c": 0.17519,
    "h": 293.1
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#47198F
secondary
#8FBF44
accent
#ED3BA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #47198F

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

Preview Lab → · Contrast checker → · Palette generator →

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