#47124F#47124F

#47124F is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.1% C 0.115 H 322.1°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#47124F
RGBrgb(71, 18, 79)
HSLhsl(292, 63%, 19%)
HSVhsv(292, 77%, 31%)
CMYKcmyk(10.1%, 77.2%, 0%, 69%)
CIE-LABlab(17.16, 34.18, -25.25)
CIE-LCHlch(17.16, 42.50, 323.54°)
OKLaboklab(30.08% 0.0907 -0.0705)
OKLCHoklch(30.08% 0.115 322.1)
XYZxyz(4.2260, 2.3370, 7.6241)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47124F #1A4F12
analogous
#29124F #47124F #4F1239
triadic
#47124F #4F4712 #124F47
tetradic
#47124F #4F2912 #1A4F12 #12394F
square
#47124F #4F2912 #1A4F12 #12394F
split-complementary
#47124F #394F12 #124F29
monochromatic
#160619 #1A071D #47124F #741D81 #A129B3

Accessibility & contrast

On white

14.31
#47124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#47124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47124F
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47124F#FFFFFF#000000##FFFFFF
##47124F1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#1A2C4E
Tritanopia (blue-blind)
#481D2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #47124f;
/* rgb */ color: rgb(71, 18, 79);
/* oklch */ color: oklch(30.1% 0.115 322.1);
Tailwind
colors: {
  custom: {
    50: '#7d5681',
    500: '#47124f',
    950: '#000000',
  },
}
SCSS
$custom: #47124f;
$custom-light: #7d5681;
$custom-dark: #000000;
JSON
{
  "hex": "#47124f",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 292.131,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30081,
    "c": 0.11487,
    "h": 322.1
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#47124F
secondary
#408835
accent
#E64257
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47124F

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

Preview Lab → · Contrast checker → · Palette generator →

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