#471572#471572

#471572 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.148 H 303.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#471572
RGBrgb(71, 21, 114)
HSLhsl(272, 69%, 26%)
HSVhsv(272, 82%, 45%)
CMYKcmyk(37.7%, 81.6%, 0%, 55.3%)
CIE-LABlab(20.40, 41.10, -43.22)
CIE-LCHlch(20.40, 59.64, 313.56°)
OKLaboklab(33.25% 0.0813 -0.1233)
OKLCHoklch(33.25% 0.148 303.4)
XYZxyz(5.9032, 3.0908, 16.2019)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471572 #407215
analogous
#191572 #471572 #72156F
triadic
#471572 #724715 #157247
tetradic
#471572 #721915 #407215 #156F72
square
#471572 #721915 #407215 #156F72
split-complementary
#471572 #6F7215 #157219
monochromatic
#10051A #270B3E #471572 #671FA6 #872AD8

Accessibility & contrast

On white

12.98
#471572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#471572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471572
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471572#FFFFFF#000000##FFFFFF
##4715721.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#3E2E43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471572;
/* rgb */ color: rgb(71, 21, 114);
/* oklch */ color: oklch(33.3% 0.148 303.4);
Tailwind
colors: {
  custom: {
    50: '#7f599b',
    500: '#471572',
    950: '#000000',
  },
}
SCSS
$custom: #471572;
$custom-light: #7f599b;
$custom-dark: #000000;
JSON
{
  "hex": "#471572",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 272.258,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33251,
    "c": 0.14764,
    "h": 303.4
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#471572
secondary
#6DA83B
accent
#EC3C8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471572

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

Preview Lab → · Contrast checker → · Palette generator →

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