#47299D#47299D

#47299D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.175 H 287.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#47299D
RGBrgb(71, 41, 157)
HSLhsl(256, 59%, 39%)
HSVhsv(256, 74%, 62%)
CMYKcmyk(54.8%, 73.9%, 0%, 38.4%)
CIE-LABlab(27.73, 43.33, -58.16)
CIE-LCHlch(27.73, 72.52, 306.69°)
OKLaboklab(39.62% 0.0522 -0.1672)
OKLCHoklch(39.62% 0.175 287.3)
XYZxyz(9.4755, 5.3593, 32.4269)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47299D #7F9D29
analogous
#29459D #47299D #81299D
triadic
#47299D #9D4729 #299D47
tetradic
#47299D #9D2945 #7F9D29 #299D81
square
#47299D #9D2945 #7F9D29 #299D81
split-complementary
#47299D #9D8129 #459D29
monochromatic
#1B103C #311C6C #47299D #5E38CB #8569D8

Accessibility & contrast

On white

10.14
#47299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#47299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47299D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47299D#FFFFFF#000000##FFFFFF
##47299D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#234860
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #47299d;
/* rgb */ color: rgb(71, 41, 157);
/* oklch */ color: oklch(39.6% 0.175 287.3);
Tailwind
colors: {
  custom: {
    50: '#8466bb',
    500: '#47299d',
    950: '#000000',
  },
}
SCSS
$custom: #47299d;
$custom-light: #8466bb;
$custom-dark: #000000;
JSON
{
  "hex": "#47299d",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 255.517,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.17519,
    "h": 287.3
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#47299D
secondary
#A7BE64
accent
#E246BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47299D

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

Preview Lab → · Contrast checker → · Palette generator →

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