#47247F#47247F

#47247F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.145 H 296.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#47247F
RGBrgb(71, 36, 127)
HSLhsl(263, 56%, 32%)
HSVhsv(263, 72%, 50%)
CMYKcmyk(44.1%, 71.7%, 0%, 50.2%)
CIE-LABlab(24.11, 37.29, -45.48)
CIE-LCHlch(24.11, 58.81, 309.35°)
OKLaboklab(36.22% 0.0633 -0.13)
OKLCHoklch(36.22% 0.145 296)
XYZxyz(7.0592, 4.1335, 20.5005)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47247F #5C7F24
analogous
#242F7F #47247F #75247F
triadic
#47247F #7F4724 #247F47
tetradic
#47247F #7F242F #5C7F24 #247F75
square
#47247F #7F242F #5C7F24 #247F75
split-complementary
#47247F #7F7524 #2F7F24
monochromatic
#120920 #2C164F #47247F #6232AF #8050CD

Accessibility & contrast

On white

11.50
#47247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#47247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47247F
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47247F#FFFFFF#000000##FFFFFF
##47247F1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#383A4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #47247f;
/* rgb */ color: rgb(71, 36, 127);
/* oklch */ color: oklch(36.2% 0.145 296.0);
Tailwind
colors: {
  custom: {
    50: '#8062a5',
    500: '#47247f',
    950: '#000000',
  },
}
SCSS
$custom: #47247f;
$custom-light: #8062a5;
$custom-dark: #000000;
JSON
{
  "hex": "#47247f",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 263.077,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36219,
    "c": 0.1446,
    "h": 296
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #47247F

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

Preview Lab → · Contrast checker → · Palette generator →

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