#471252#471252

#471252 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.118 H 320.2°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#471252
RGBrgb(71, 18, 82)
HSLhsl(290, 64%, 20%)
HSVhsv(290, 78%, 32%)
CMYKcmyk(13.4%, 78%, 0%, 67.8%)
CIE-LABlab(17.37, 34.82, -26.96)
CIE-LCHlch(17.37, 44.04, 322.25°)
OKLaboklab(30.3% 0.0905 -0.0755)
OKLCHoklch(30.3% 0.118 320.2)
XYZxyz(4.3376, 2.3816, 8.2122)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471252 #1D5212
analogous
#271252 #471252 #52123D
triadic
#471252 #524712 #125247
tetradic
#471252 #522712 #1D5212 #123D52
square
#471252 #522712 #1D5212 #123D52
split-complementary
#471252 #3D5212 #125227
monochromatic
#160619 #1C0720 #471252 #721D84 #9E28B6

Accessibility & contrast

On white

14.23
#471252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#471252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471252
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471252#FFFFFF#000000##FFFFFF
##4712521.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#182D51
Tritanopia (blue-blind)
#471E30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #471252;
/* rgb */ color: rgb(71, 18, 82);
/* oklch */ color: oklch(30.3% 0.118 320.2);
Tailwind
colors: {
  custom: {
    50: '#7d5683',
    500: '#471252',
    950: '#000000',
  },
}
SCSS
$custom: #471252;
$custom-light: #7d5683;
$custom-dark: #000000;
JSON
{
  "hex": "#471252",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 289.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30298,
    "c": 0.11786,
    "h": 320.2
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#471252
secondary
#448B35
accent
#E7415D
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #471252

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

Preview Lab → · Contrast checker → · Palette generator →

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