#471257#471257

#471257 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.123 H 317.1°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#471257
RGBrgb(71, 18, 87)
HSLhsl(286, 66%, 21%)
HSVhsv(286, 79%, 34%)
CMYKcmyk(18.4%, 79.3%, 0%, 65.9%)
CIE-LABlab(17.74, 35.92, -29.75)
CIE-LCHlch(17.74, 46.64, 320.37°)
OKLaboklab(30.67% 0.09 -0.0837)
OKLCHoklch(30.67% 0.123 317.1)
XYZxyz(4.5349, 2.4605, 9.2510)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471257 #225712
analogous
#241257 #471257 #571244
triadic
#471257 #574712 #125747
tetradic
#471257 #572412 #225712 #124457
square
#471257 #572412 #225712 #124457
split-complementary
#471257 #445712 #125724
monochromatic
#150519 #1E0824 #471257 #701C8A #9A27BC

Accessibility & contrast

On white

14.08
#471257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471257
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471257#FFFFFF#000000##FFFFFF
##4712571.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#132D55
Tritanopia (blue-blind)
#462033
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #471257;
/* rgb */ color: rgb(71, 18, 87);
/* oklch */ color: oklch(30.7% 0.123 317.1);
Tailwind
colors: {
  custom: {
    50: '#7d5687',
    500: '#471257',
    950: '#000000',
  },
}
SCSS
$custom: #471257;
$custom-light: #7d5687;
$custom-dark: #000000;
JSON
{
  "hex": "#471257",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 286.087,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30674,
    "c": 0.12288,
    "h": 317.1
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#471257
secondary
#4A9035
accent
#E93F66
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #471257

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

Preview Lab → · Contrast checker → · Palette generator →

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