#47299A#47299A

#47299A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.172 H 288.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#47299A
RGBrgb(71, 41, 154)
HSLhsl(256, 58%, 38%)
HSVhsv(256, 73%, 60%)
CMYKcmyk(53.9%, 73.4%, 0%, 39.6%)
CIE-LABlab(27.46, 42.44, -56.78)
CIE-LCHlch(27.46, 70.89, 306.78°)
OKLaboklab(39.34% 0.0529 -0.1632)
OKLCHoklch(39.34% 0.172 288)
XYZxyz(9.2225, 5.2581, 31.0945)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47299A #7C9A29
analogous
#29439A #47299A #7F299A
triadic
#47299A #9A4729 #299A47
tetradic
#47299A #9A2943 #7C9A29 #299A7F
square
#47299A #9A2943 #7C9A29 #299A7F
split-complementary
#47299A #9A7F29 #439A29
monochromatic
#1A0F39 #311C6A #47299A #5E37CA #8567D7

Accessibility & contrast

On white

10.23
#47299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#47299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47299A
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47299A#FFFFFF#000000##FFFFFF
##47299A1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#26475F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #47299a;
/* rgb */ color: rgb(71, 41, 154);
/* oklch */ color: oklch(39.3% 0.172 288.0);
Tailwind
colors: {
  custom: {
    50: '#8366b9',
    500: '#47299a',
    950: '#000000',
  },
}
SCSS
$custom: #47299a;
$custom-light: #8366b9;
$custom-dark: #000000;
JSON
{
  "hex": "#47299a",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 255.929,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39338,
    "c": 0.17156,
    "h": 288
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#47299A
secondary
#A5BD62
accent
#E147B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47299A

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

Preview Lab → · Contrast checker → · Palette generator →

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