#47299C#47299C

#47299C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.174 H 287.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#47299C
RGBrgb(71, 41, 156)
HSLhsl(256, 58%, 39%)
HSVhsv(256, 74%, 61%)
CMYKcmyk(54.5%, 73.7%, 0%, 38.8%)
CIE-LABlab(27.64, 43.03, -57.70)
CIE-LCHlch(27.64, 71.98, 306.72°)
OKLaboklab(39.53% 0.0524 -0.1659)
OKLCHoklch(39.53% 0.174 287.5)
XYZxyz(9.3904, 5.3253, 31.9791)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47299C #7E9C29
analogous
#29449C #47299C #80299C
triadic
#47299C #9C4729 #299C47
tetradic
#47299C #9C2944 #7E9C29 #299C80
square
#47299C #9C2944 #7E9C29 #299C80
split-complementary
#47299C #9C8029 #449C29
monochromatic
#1B103B #311C6C #47299C #5E38CB #8568D7

Accessibility & contrast

On white

10.17
#47299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47299C
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47299C#FFFFFF#000000##FFFFFF
##47299C1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#244860
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #47299c;
/* rgb */ color: rgb(71, 41, 156);
/* oklch */ color: oklch(39.5% 0.174 287.5);
Tailwind
colors: {
  custom: {
    50: '#8366ba',
    500: '#47299c',
    950: '#000000',
  },
}
SCSS
$custom: #47299c;
$custom-light: #8366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47299c",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 255.652,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39525,
    "c": 0.17398,
    "h": 287.5
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#47299C
secondary
#A6BE63
accent
#E246B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47299C

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

Preview Lab → · Contrast checker → · Palette generator →

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