#471452#471452

#471452 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.115 H 320.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#471452
RGBrgb(71, 20, 82)
HSLhsl(289, 61%, 20%)
HSVhsv(289, 76%, 32%)
CMYKcmyk(13.4%, 75.6%, 0%, 67.8%)
CIE-LABlab(17.69, 33.94, -26.46)
CIE-LCHlch(17.69, 43.03, 322.06°)
OKLaboklab(30.52% 0.0881 -0.0741)
OKLCHoklch(30.52% 0.115 320)
XYZxyz(4.3715, 2.4493, 8.2235)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471452 #1F5214
analogous
#281452 #471452 #52143E
triadic
#471452 #524714 #145247
tetradic
#471452 #522814 #1F5214 #143E52
square
#471452 #522814 #1F5214 #143E52
split-complementary
#471452 #3E5214 #145228
monochromatic
#150619 #1C0821 #471452 #722083 #9C2CB4

Accessibility & contrast

On white

14.10
#471452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#471452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471452
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471452#FFFFFF#000000##FFFFFF
##4714521.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#192D51
Tritanopia (blue-blind)
#471F31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #471452;
/* rgb */ color: rgb(71, 20, 82);
/* oklch */ color: oklch(30.5% 0.115 320.0);
Tailwind
colors: {
  custom: {
    50: '#7d5783',
    500: '#471452',
    950: '#000000',
  },
}
SCSS
$custom: #471452;
$custom-light: #7d5783;
$custom-dark: #000000;
JSON
{
  "hex": "#471452",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 289.355,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30522,
    "c": 0.11512,
    "h": 320
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#471452
secondary
#468A38
accent
#E44460
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #471452

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

Preview Lab → · Contrast checker → · Palette generator →

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