#47124D#47124D

#47124D is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.113 H 323.5°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#47124D
RGBrgb(71, 18, 77)
HSLhsl(294, 62%, 19%)
HSVhsv(294, 77%, 30%)
CMYKcmyk(7.8%, 76.6%, 0%, 69.8%)
CIE-LABlab(17.03, 33.76, -24.10)
CIE-LCHlch(17.03, 41.48, 324.47°)
OKLaboklab(29.94% 0.0908 -0.0672)
OKLCHoklch(29.94% 0.113 323.5)
XYZxyz(4.1543, 2.3083, 7.2465)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47124D #184D12
analogous
#29124D #47124D #4D1235
triadic
#47124D #4D4712 #124D47
tetradic
#47124D #4D2912 #184D12 #12354D
square
#47124D #4D2912 #184D12 #12354D
split-complementary
#47124D #354D12 #124D29
monochromatic
#170619 #19061B #47124D #751E7F #A229B0

Accessibility & contrast

On white

14.37
#47124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47124D
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47124D#FFFFFF#000000##FFFFFF
##47124D1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02264F
Deuteranopia (green-blind)
#1C2C4C
Tritanopia (blue-blind)
#481C2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #47124d;
/* rgb */ color: rgb(71, 18, 77);
/* oklch */ color: oklch(29.9% 0.113 323.5);
Tailwind
colors: {
  custom: {
    50: '#7d567f',
    500: '#47124d',
    950: '#000000',
  },
}
SCSS
$custom: #47124d;
$custom-light: #7d567f;
$custom-dark: #000000;
JSON
{
  "hex": "#47124d",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 293.898,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2994,
    "c": 0.1129,
    "h": 323.5
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#47124D
secondary
#3D8635
accent
#E54353
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47124D

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

Preview Lab → · Contrast checker → · Palette generator →

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