#47124A#47124A

#47124A is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.7% C 0.110 H 325.6°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#47124A
RGBrgb(71, 18, 74)
HSLhsl(297, 61%, 18%)
HSVhsv(297, 76%, 29%)
CMYKcmyk(4.1%, 75.7%, 0%, 71%)
CIE-LABlab(16.83, 33.14, -22.36)
CIE-LCHlch(16.83, 39.98, 325.99°)
OKLaboklab(29.73% 0.0908 -0.0621)
OKLCHoklch(29.73% 0.11 325.6)
XYZxyz(4.0508, 2.2669, 6.7014)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47124A #154A12
analogous
#2B124A #47124A #4A1231
triadic
#47124A #4A4712 #124A47
tetradic
#47124A #4A2B12 #154A12 #12314A
square
#47124A #4A2B12 #154A12 #12314A
split-complementary
#47124A #314A12 #124A2B
monochromatic
#180619 #180619 #47124A #761E7B #A52AAC

Accessibility & contrast

On white

14.45
#47124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#47124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47124A
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47124A#FFFFFF#000000##FFFFFF
##47124A1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06254C
Deuteranopia (green-blind)
#1E2C49
Tritanopia (blue-blind)
#491B2C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #47124a;
/* rgb */ color: rgb(71, 18, 74);
/* oklch */ color: oklch(29.7% 0.110 325.6);
Tailwind
colors: {
  custom: {
    50: '#7d557d',
    500: '#47124a',
    950: '#000000',
  },
}
SCSS
$custom: #47124a;
$custom-light: #7d557d;
$custom-dark: #000000;
JSON
{
  "hex": "#47124a",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 296.786,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29733,
    "c": 0.10998,
    "h": 325.6
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#47124A
secondary
#398335
accent
#E4444C
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #47124A

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

Preview Lab → · Contrast checker → · Palette generator →

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