#47299F#47299F

#47299F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.178 H 286.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#47299F
RGBrgb(71, 41, 159)
HSLhsl(255, 59%, 39%)
HSVhsv(255, 74%, 62%)
CMYKcmyk(55.3%, 74.2%, 0%, 37.6%)
CIE-LABlab(27.92, 43.92, -59.07)
CIE-LCHlch(27.92, 73.61, 306.63°)
OKLaboklab(39.81% 0.0517 -0.1699)
OKLCHoklch(39.81% 0.178 286.9)
XYZxyz(9.6476, 5.4282, 33.3335)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47299F #819F29
analogous
#29469F #47299F #82299F
triadic
#47299F #9F4729 #299F47
tetradic
#47299F #9F2946 #819F29 #299F82
square
#47299F #9F2946 #819F29 #299F82
split-complementary
#47299F #9F8229 #469F29
monochromatic
#1C103E #311C6E #47299F #5F39CC #866AD9

Accessibility & contrast

On white

10.07
#47299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#47299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47299F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47299F#FFFFFF#000000##FFFFFF
##47299F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#214962
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #47299f;
/* rgb */ color: rgb(71, 41, 159);
/* oklch */ color: oklch(39.8% 0.178 286.9);
Tailwind
colors: {
  custom: {
    50: '#8466bc',
    500: '#47299f',
    950: '#000000',
  },
}
SCSS
$custom: #47299f;
$custom-light: #8466bc;
$custom-dark: #000000;
JSON
{
  "hex": "#47299f",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 255.254,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.1776,
    "h": 286.9
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#47299F
secondary
#A8BF65
accent
#E246BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47299F

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

Preview Lab → · Contrast checker → · Palette generator →

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