#47247D#47247D

#47247D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.142 H 296.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#47247D
RGBrgb(71, 36, 125)
HSLhsl(264, 55%, 32%)
HSVhsv(264, 71%, 49%)
CMYKcmyk(43.2%, 71.2%, 0%, 51%)
CIE-LABlab(23.94, 36.73, -44.49)
CIE-LCHlch(23.94, 57.69, 309.54°)
OKLaboklab(36.05% 0.0637 -0.1271)
OKLCHoklch(36.05% 0.142 296.6)
XYZxyz(6.9301, 4.0819, 19.8208)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47247D #5A7D24
analogous
#242D7D #47247D #74247D
triadic
#47247D #7D4724 #247D47
tetradic
#47247D #7D242D #5A7D24 #247D74
square
#47247D #7D242D #5A7D24 #247D74
split-complementary
#47247D #7D7424 #2D7D24
monochromatic
#11091E #2C164D #47247D #6232AD #804FCC

Accessibility & contrast

On white

11.56
#47247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#47247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47247D
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47247D#FFFFFF#000000##FFFFFF
##47247D1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#393A4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #47247d;
/* rgb */ color: rgb(71, 36, 125);
/* oklch */ color: oklch(36.0% 0.142 296.6);
Tailwind
colors: {
  custom: {
    50: '#7f61a3',
    500: '#47247d',
    950: '#000000',
  },
}
SCSS
$custom: #47247d;
$custom-light: #7f61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#47247d",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 263.596,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36047,
    "c": 0.14214,
    "h": 296.6
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#47247D
secondary
#89AF4D
accent
#DF49A4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47247D

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

Preview Lab → · Contrast checker → · Palette generator →

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