#47299B#47299B

#47299B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.173 H 287.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#47299B
RGBrgb(71, 41, 155)
HSLhsl(256, 58%, 38%)
HSVhsv(256, 74%, 61%)
CMYKcmyk(54.2%, 73.5%, 0%, 39.2%)
CIE-LABlab(27.55, 42.74, -57.24)
CIE-LCHlch(27.55, 71.43, 306.75°)
OKLaboklab(39.43% 0.0527 -0.1646)
OKLCHoklch(39.43% 0.173 287.7)
XYZxyz(9.3061, 5.2916, 31.5350)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47299B #7D9B29
analogous
#29449B #47299B #80299B
triadic
#47299B #9B4729 #299B47
tetradic
#47299B #9B2944 #7D9B29 #299B80
square
#47299B #9B2944 #7D9B29 #299B80
split-complementary
#47299B #9B8029 #449B29
monochromatic
#1B0F3A #311C6B #47299B #5E37CA #8567D7

Accessibility & contrast

On white

10.20
#47299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#47299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47299B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47299B#FFFFFF#000000##FFFFFF
##47299B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#25485F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #47299b;
/* rgb */ color: rgb(71, 41, 155);
/* oklch */ color: oklch(39.4% 0.173 287.7);
Tailwind
colors: {
  custom: {
    50: '#8366b9',
    500: '#47299b',
    950: '#000000',
  },
}
SCSS
$custom: #47299b;
$custom-light: #8366b9;
$custom-dark: #000000;
JSON
{
  "hex": "#47299b",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 255.789,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39432,
    "c": 0.17278,
    "h": 287.7
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#47299B
secondary
#A5BD63
accent
#E146B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47299B

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

Preview Lab → · Contrast checker → · Palette generator →

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