#471C7F#471C7F

#471C7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.154 H 297.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#471C7F
RGBrgb(71, 28, 127)
HSLhsl(266, 64%, 30%)
HSVhsv(266, 78%, 50%)
CMYKcmyk(44.1%, 78%, 0%, 50.2%)
CIE-LABlab(22.66, 41.37, -47.84)
CIE-LCHlch(22.66, 63.24, 310.85°)
OKLaboklab(35.2% 0.0713 -0.1369)
OKLCHoklch(35.2% 0.154 297.5)
XYZxyz(6.8436, 3.7023, 20.4286)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471C7F #547F1C
analogous
#1C227F #471C7F #791C7F
triadic
#471C7F #7F471C #1C7F47
tetradic
#471C7F #7F1C22 #547F1C #1C7F79
square
#471C7F #7F1C22 #547F1C #1C7F79
split-complementary
#471C7F #7F791C #227F1C
monochromatic
#0F061B #2B114D #471C7F #6327B1 #8140D5

Accessibility & contrast

On white

12.07
#471C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#471C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471C7F
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471C7F#FFFFFF#000000##FFFFFF
##471C7F1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#39364C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471c7f;
/* rgb */ color: rgb(71, 28, 127);
/* oklch */ color: oklch(35.2% 0.154 297.5);
Tailwind
colors: {
  custom: {
    50: '#805da5',
    500: '#471c7f',
    950: '#000000',
  },
}
SCSS
$custom: #471c7f;
$custom-light: #805da5;
$custom-dark: #000000;
JSON
{
  "hex": "#471c7f",
  "rgb": {
    "r": 71,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 266.061,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35195,
    "c": 0.15434,
    "h": 297.5
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#471C7F
secondary
#83B344
accent
#E7419F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471C7F

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

Preview Lab → · Contrast checker → · Palette generator →

#471C7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva