#471573#471573

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

Color values

HEX#471573
RGBrgb(71, 21, 115)
HSLhsl(272, 69%, 27%)
HSVhsv(272, 82%, 45%)
CMYKcmyk(38.3%, 81.7%, 0%, 54.9%)
CIE-LABlab(20.49, 41.35, -43.72)
CIE-LCHlch(20.49, 60.17, 313.41°)
OKLaboklab(33.34% 0.081 -0.1247)
OKLCHoklch(33.34% 0.149 303)
XYZxyz(5.9605, 3.1137, 16.5033)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471573 #417315
analogous
#181573 #471573 #731570
triadic
#471573 #734715 #157347
tetradic
#471573 #731815 #417315 #157073
square
#471573 #731815 #417315 #157073
split-complementary
#471573 #707315 #157318
monochromatic
#10051A #270C3F #471573 #671EA7 #872AD8

Accessibility & contrast

On white

12.94
#471573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471573
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471573#FFFFFF#000000##FFFFFF
##4715731.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#3E2E44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471573;
/* rgb */ color: rgb(71, 21, 115);
/* oklch */ color: oklch(33.3% 0.149 303.0);
Tailwind
colors: {
  custom: {
    50: '#7f599c',
    500: '#471573',
    950: '#000000',
  },
}
SCSS
$custom: #471573;
$custom-light: #7f599c;
$custom-dark: #000000;
JSON
{
  "hex": "#471573",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 271.915,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33341,
    "c": 0.14871,
    "h": 303
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#471573
secondary
#6EA93B
accent
#EC3C8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471573

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

Preview Lab → · Contrast checker → · Palette generator →

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