#470948#470948

#470948 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.119 H 327.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#470948
RGBrgb(71, 9, 72)
HSLhsl(299, 78%, 16%)
HSVhsv(299, 88%, 28%)
CMYKcmyk(1.4%, 87.5%, 0%, 71.8%)
CIE-LABlab(15.50, 36.16, -23.09)
CIE-LCHlch(15.50, 42.90, 327.44°)
OKLaboklab(28.74% 0.1004 -0.0641)
OKLCHoklch(28.74% 0.119 327.4)
XYZxyz(3.8659, 2.0031, 6.3127)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470948 #0A4809
analogous
#270948 #470948 #480929
triadic
#470948 #484709 #094847
tetradic
#470948 #482709 #0A4809 #092948
square
#470948 #482709 #0A4809 #092948
split-complementary
#470948 #294809 #094827
monochromatic
#1B031B #1B031B #470948 #7D107E #B217B5

Accessibility & contrast

On white

14.99
#470948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#470948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470948
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470948#FFFFFF#000000##FFFFFF
##4709481.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#1B2947
Tritanopia (blue-blind)
#491429
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #470948;
/* rgb */ color: rgb(71, 9, 72);
/* oklch */ color: oklch(28.7% 0.119 327.4);
Tailwind
colors: {
  custom: {
    50: '#7d527b',
    500: '#470948',
    950: '#000000',
  },
}
SCSS
$custom: #470948;
$custom-light: #7d527b;
$custom-dark: #000000;
JSON
{
  "hex": "#470948",
  "rgb": {
    "r": 71,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 299.048,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28743,
    "c": 0.11912,
    "h": 327.4
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#470948
secondary
#298527
accent
#F43437
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#0A0209
muted
#7C787B

Preview Lab

Preview with #470948

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

Preview Lab → · Contrast checker → · Palette generator →

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