#47124C#47124C

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

Color values

HEX#47124C
RGBrgb(71, 18, 76)
HSLhsl(295, 62%, 18%)
HSVhsv(295, 76%, 30%)
CMYKcmyk(6.6%, 76.3%, 0%, 70.2%)
CIE-LABlab(16.96, 33.55, -23.53)
CIE-LCHlch(16.96, 40.98, 324.96°)
OKLaboklab(29.87% 0.0908 -0.0655)
OKLCHoklch(29.87% 0.112 324.2)
XYZxyz(4.1192, 2.2943, 7.0619)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47124C #174C12
analogous
#2A124C #47124C #4C1234
triadic
#47124C #4C4712 #124C47
tetradic
#47124C #4C2A12 #174C12 #12344C
square
#47124C #4C2A12 #174C12 #12344C
split-complementary
#47124C #344C12 #124C2A
monochromatic
#170619 #19061B #47124C #751E7D #A329AF

Accessibility & contrast

On white

14.40
#47124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47124C
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47124C#FFFFFF#000000##FFFFFF
##47124C1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04264E
Deuteranopia (green-blind)
#1C2C4B
Tritanopia (blue-blind)
#491C2D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #47124c;
/* rgb */ color: rgb(71, 18, 76);
/* oklch */ color: oklch(29.9% 0.112 324.2);
Tailwind
colors: {
  custom: {
    50: '#7d567e',
    500: '#47124c',
    950: '#000000',
  },
}
SCSS
$custom: #47124c;
$custom-light: #7d567e;
$custom-dark: #000000;
JSON
{
  "hex": "#47124c",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 294.828,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2987,
    "c": 0.11192,
    "h": 324.2
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#47124C
secondary
#3C8535
accent
#E54351
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47124C

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

Preview Lab → · Contrast checker → · Palette generator →

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