#471F7A#471F7A

#471F7A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.145 H 298.7°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#471F7A
RGBrgb(71, 31, 122)
HSLhsl(266, 59%, 30%)
HSVhsv(266, 75%, 48%)
CMYKcmyk(41.8%, 74.6%, 0%, 52.2%)
CIE-LABlab(22.74, 38.54, -44.54)
CIE-LCHlch(22.74, 58.90, 310.87°)
OKLaboklab(35.11% 0.0696 -0.1272)
OKLCHoklch(35.11% 0.145 298.7)
XYZxyz(6.6005, 3.7246, 18.7798)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F7A #527A1F
analogous
#1F247A #471F7A #751F7A
triadic
#471F7A #7A471F #1F7A47
tetradic
#471F7A #7A1F24 #527A1F #1F7A75
square
#471F7A #7A1F24 #527A1F #1F7A75
split-complementary
#471F7A #7A751F #247A1F
monochromatic
#0E0618 #2B1349 #471F7A #632BAB #8144CF

Accessibility & contrast

On white

12.03
#471F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#471F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F7A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F7A#FFFFFF#000000##FFFFFF
##471F7A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#3B364A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471f7a;
/* rgb */ color: rgb(71, 31, 122);
/* oklch */ color: oklch(35.1% 0.145 298.7);
Tailwind
colors: {
  custom: {
    50: '#7f5ea1',
    500: '#471f7a',
    950: '#000000',
  },
}
SCSS
$custom: #471f7a;
$custom-light: #7f5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#471f7a",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 266.374,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.35113,
    "c": 0.145,
    "h": 298.7
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#471F7A
secondary
#81AD47
accent
#E3459D
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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