#47247E#47247E

#47247E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.143 H 296.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#47247E
RGBrgb(71, 36, 126)
HSLhsl(263, 56%, 32%)
HSVhsv(263, 71%, 49%)
CMYKcmyk(43.7%, 71.4%, 0%, 50.6%)
CIE-LABlab(24.02, 37.01, -44.98)
CIE-LCHlch(24.02, 58.25, 309.45°)
OKLaboklab(36.13% 0.0635 -0.1285)
OKLCHoklch(36.13% 0.143 296.3)
XYZxyz(6.9943, 4.1076, 20.1589)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47247E #5B7E24
analogous
#242E7E #47247E #74247E
triadic
#47247E #7E4724 #247E47
tetradic
#47247E #7E242E #5B7E24 #247E74
square
#47247E #7E242E #5B7E24 #247E74
split-complementary
#47247E #7E7424 #2E7E24
monochromatic
#11091F #2C164E #47247E #6232AE #8050CD

Accessibility & contrast

On white

11.53
#47247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47247E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47247E#FFFFFF#000000##FFFFFF
##47247E1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#393A4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #47247e;
/* rgb */ color: rgb(71, 36, 126);
/* oklch */ color: oklch(36.1% 0.143 296.3);
Tailwind
colors: {
  custom: {
    50: '#7f62a4',
    500: '#47247e',
    950: '#000000',
  },
}
SCSS
$custom: #47247e;
$custom-light: #7f62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#47247e",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 263.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36133,
    "c": 0.14337,
    "h": 296.3
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#47247E
secondary
#8AB04E
accent
#DF49A5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47247E

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

Preview Lab → · Contrast checker → · Palette generator →

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