#471575#471575

#471575 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.151 H 302.2°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#471575
RGBrgb(71, 21, 117)
HSLhsl(271, 70%, 27%)
HSVhsv(271, 82%, 46%)
CMYKcmyk(39.3%, 82.1%, 0%, 54.1%)
CIE-LABlab(20.67, 41.85, -44.71)
CIE-LCHlch(20.67, 61.24, 313.11°)
OKLaboklab(33.52% 0.0804 -0.1276)
OKLCHoklch(33.52% 0.151 302.2)
XYZxyz(6.0768, 3.1603, 17.1160)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471575 #437515
analogous
#171575 #471575 #751573
triadic
#471575 #754715 #157547
tetradic
#471575 #751715 #437515 #157375
square
#471575 #751715 #437515 #157375
split-complementary
#471575 #737515 #157517
monochromatic
#10051A #280C41 #471575 #661EA9 #862BD9

Accessibility & contrast

On white

12.87
#471575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#471575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471575
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471575#FFFFFF#000000##FFFFFF
##4715751.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#3D2F45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #471575;
/* rgb */ color: rgb(71, 21, 117);
/* oklch */ color: oklch(33.5% 0.151 302.2);
Tailwind
colors: {
  custom: {
    50: '#7f599e',
    500: '#471575',
    950: '#000000',
  },
}
SCSS
$custom: #471575;
$custom-light: #7f599e;
$custom-dark: #000000;
JSON
{
  "hex": "#471575",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 271.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33523,
    "c": 0.15085,
    "h": 302.2
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#471575
secondary
#71AB3B
accent
#EC3B90
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #471575

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

Preview Lab → · Contrast checker → · Palette generator →

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