#47124E#47124E

#47124E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.114 H 322.8°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#47124E
RGBrgb(71, 18, 78)
HSLhsl(293, 63%, 19%)
HSVhsv(293, 77%, 31%)
CMYKcmyk(9%, 76.9%, 0%, 69.4%)
CIE-LABlab(17.10, 33.97, -24.68)
CIE-LCHlch(17.10, 41.99, 324.00°)
OKLaboklab(30.01% 0.0907 -0.0688)
OKLCHoklch(30.01% 0.114 322.8)
XYZxyz(4.1899, 2.3225, 7.4338)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47124E #194E12
analogous
#29124E #47124E #4E1237
triadic
#47124E #4E4712 #124E47
tetradic
#47124E #4E2912 #194E12 #12374E
square
#47124E #4E2912 #194E12 #12374E
split-complementary
#47124E #374E12 #124E29
monochromatic
#170619 #1A071C #47124E #741D80 #A229B1

Accessibility & contrast

On white

14.34
#47124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#47124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47124E
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47124E#FFFFFF#000000##FFFFFF
##47124E1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012650
Deuteranopia (green-blind)
#1B2C4D
Tritanopia (blue-blind)
#481C2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #47124e;
/* rgb */ color: rgb(71, 18, 78);
/* oklch */ color: oklch(30.0% 0.114 322.8);
Tailwind
colors: {
  custom: {
    50: '#7d5680',
    500: '#47124e',
    950: '#000000',
  },
}
SCSS
$custom: #47124e;
$custom-light: #7d5680;
$custom-dark: #000000;
JSON
{
  "hex": "#47124e",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 293,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3001,
    "c": 0.11389,
    "h": 322.8
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#47124E
secondary
#3E8735
accent
#E64255
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47124E

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

Preview Lab → · Contrast checker → · Palette generator →

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