#47074E#47074E

#47074E is a dark, vivid purple. Relative luminance 0.020; OKLCH L 29.0% C 0.126 H 323.5°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#47074E
RGBrgb(71, 7, 78)
HSLhsl(294, 84%, 17%)
HSVhsv(294, 91%, 31%)
CMYKcmyk(9%, 91%, 0%, 69.4%)
CIE-LABlab(15.71, 37.97, -26.91)
CIE-LCHlch(15.71, 46.54, 324.68°)
OKLaboklab(29.02% 0.1016 -0.0753)
OKLCHoklch(29.02% 0.126 323.5)
XYZxyz(4.0495, 2.0419, 7.3871)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47074E #0E4E07
analogous
#24074E #47074E #4E0732
triadic
#47074E #4E4707 #074E47
tetradic
#47074E #4E2407 #0E4E07 #07324E
square
#47074E #4E2407 #0E4E07 #07324E
split-complementary
#47074E #324E07 #074E24
monochromatic
#1A031C #1A031C #47074E #7A0C86 #AD11BE

Accessibility & contrast

On white

14.91
#47074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#47074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47074E
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47074E#FFFFFF#000000##FFFFFF
##47074E1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#152A4C
Tritanopia (blue-blind)
#48162C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #47074e;
/* rgb */ color: rgb(71, 7, 78);
/* oklch */ color: oklch(29.0% 0.126 323.5);
Tailwind
colors: {
  custom: {
    50: '#7d5180',
    500: '#47074e',
    950: '#000000',
  },
}
SCSS
$custom: #47074e;
$custom-light: #7d5180;
$custom-dark: #000000;
JSON
{
  "hex": "#47074e",
  "rgb": {
    "r": 71,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 294.085,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29022,
    "c": 0.12644,
    "h": 323.5
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#47074E
secondary
#2F8C25
accent
#FA2E42
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#0A020A
muted
#7C787C

Preview Lab

Preview with #47074E

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

Preview Lab → · Contrast checker → · Palette generator →

#47074E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva