#471270#471270

#471270 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.149 H 304.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#471270
RGBrgb(71, 18, 112)
HSLhsl(274, 72%, 25%)
HSVhsv(274, 84%, 44%)
CMYKcmyk(36.6%, 83.9%, 0%, 56.1%)
CIE-LABlab(19.81, 41.80, -42.89)
CIE-LCHlch(19.81, 59.89, 314.26°)
OKLaboklab(32.78% 0.0844 -0.1223)
OKLCHoklch(32.78% 0.149 304.6)
XYZxyz(5.7388, 2.9421, 15.5916)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471270 #3B7012
analogous
#181270 #471270 #70126A
triadic
#471270 #704712 #127047
tetradic
#471270 #701812 #3B7012 #126A70
square
#471270 #701812 #3B7012 #126A70
split-complementary
#471270 #6A7012 #127018
monochromatic
#11041A #260A3B #471270 #681AA5 #8A23D9

Accessibility & contrast

On white

13.22
#471270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#471270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471270
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471270#FFFFFF#000000##FFFFFF
##4712701.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#3F2B42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #471270;
/* rgb */ color: rgb(71, 18, 112);
/* oklch */ color: oklch(32.8% 0.149 304.6);
Tailwind
colors: {
  custom: {
    50: '#7f589a',
    500: '#471270',
    950: '#000000',
  },
}
SCSS
$custom: #471270;
$custom-light: #7f589a;
$custom-dark: #000000;
JSON
{
  "hex": "#471270",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 273.83,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32781,
    "c": 0.1486,
    "h": 304.6
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#471270
secondary
#68A737
accent
#EF3988
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471270

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

Preview Lab → · Contrast checker → · Palette generator →

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