#470841#470841

#470841 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.114 H 332.6°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#470841
RGBrgb(71, 8, 65)
HSLhsl(306, 80%, 15%)
HSVhsv(306, 89%, 28%)
CMYKcmyk(0%, 88.7%, 8.5%, 72.2%)
CIE-LABlab(14.93, 35.22, -19.12)
CIE-LCHlch(14.93, 40.07, 331.51°)
OKLaboklab(28.18% 0.1015 -0.0526)
OKLCHoklch(28.18% 0.114 332.6)
XYZxyz(3.6395, 1.8952, 5.1741)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470841 #08470E
analogous
#2D0847 #470841 #470821
triadic
#470841 #414708 #084147
tetradic
#470841 #472D08 #08470E #082147
square
#470841 #472D08 #08470E #082147
split-complementary
#470841 #214708 #08472D
monochromatic
#1C0319 #1C0319 #470841 #7E0E73 #B514A6

Accessibility & contrast

On white

15.23
#470841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#470841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470841
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470841#FFFFFF#000000##FFFFFF
##4708411.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042042
Deuteranopia (green-blind)
#1E2940
Tritanopia (blue-blind)
#4B1024
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #470841;
/* rgb */ color: rgb(71, 8, 65);
/* oklch */ color: oklch(28.2% 0.114 332.6);
Tailwind
colors: {
  custom: {
    50: '#7d5176',
    500: '#470841',
    950: '#000000',
  },
}
SCSS
$custom: #470841;
$custom-light: #7d5176;
$custom-dark: #000000;
JSON
{
  "hex": "#470841",
  "rgb": {
    "r": 71,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 305.714,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.28184,
    "c": 0.1143,
    "h": 332.6
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#470841
secondary
#26852F
accent
#F64432
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470841

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

Preview Lab → · Contrast checker → · Palette generator →

#470841 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva