#47124B#47124B

#47124B is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.111 H 324.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#47124B
RGBrgb(71, 18, 75)
HSLhsl(296, 61%, 18%)
HSVhsv(296, 76%, 29%)
CMYKcmyk(5.3%, 76%, 0%, 70.6%)
CIE-LABlab(16.90, 33.35, -22.94)
CIE-LCHlch(16.90, 40.48, 325.47°)
OKLaboklab(29.8% 0.0908 -0.0638)
OKLCHoklch(29.8% 0.111 324.9)
XYZxyz(4.0847, 2.2805, 6.8803)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47124B #164B12
analogous
#2A124B #47124B #4B1232
triadic
#47124B #4B4712 #124B47
tetradic
#47124B #4B2A12 #164B12 #12324B
square
#47124B #4B2A12 #164B12 #12324B
split-complementary
#47124B #324B12 #124B2A
monochromatic
#170619 #18061A #47124B #761E7C #A42AAE

Accessibility & contrast

On white

14.42
#47124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47124B
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47124B#FFFFFF#000000##FFFFFF
##47124B1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05264D
Deuteranopia (green-blind)
#1D2C4A
Tritanopia (blue-blind)
#491B2D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #47124b;
/* rgb */ color: rgb(71, 18, 75);
/* oklch */ color: oklch(29.8% 0.111 324.9);
Tailwind
colors: {
  custom: {
    50: '#7d557d',
    500: '#47124b',
    950: '#000000',
  },
}
SCSS
$custom: #47124b;
$custom-light: #7d557d;
$custom-dark: #000000;
JSON
{
  "hex": "#47124b",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 295.789,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29801,
    "c": 0.11095,
    "h": 324.9
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#47124B
secondary
#3A8435
accent
#E4434F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47124B

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

Preview Lab → · Contrast checker → · Palette generator →

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