#471F79#471F79

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

Color values

HEX#471F79
RGBrgb(71, 31, 121)
HSLhsl(267, 59%, 30%)
HSVhsv(267, 74%, 47%)
CMYKcmyk(41.3%, 74.4%, 0%, 52.5%)
CIE-LABlab(22.65, 38.26, -44.04)
CIE-LCHlch(22.65, 58.34, 310.99°)
OKLaboklab(35.03% 0.0698 -0.1257)
OKLCHoklch(35.03% 0.144 299)
XYZxyz(6.5388, 3.7000, 18.4551)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F79 #51791F
analogous
#1F2479 #471F79 #741F79
triadic
#471F79 #79471F #1F7947
tetradic
#471F79 #791F24 #51791F #1F7974
square
#471F79 #791F24 #51791F #1F7974
split-complementary
#471F79 #79741F #24791F
monochromatic
#0E0618 #2A1348 #471F79 #642BAA #8143CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##471F79#FFFFFF#000000##FFFFFF
##471F791.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)
#00367C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#3B354A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471f79;
/* rgb */ color: rgb(71, 31, 121);
/* oklch */ color: oklch(35.0% 0.144 299.0);
Tailwind
colors: {
  custom: {
    50: '#7f5ea0',
    500: '#471f79',
    950: '#000000',
  },
}
SCSS
$custom: #471f79;
$custom-light: #7f5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#471f79",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 266.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35025,
    "c": 0.14381,
    "h": 299
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#471F79
secondary
#80AC47
accent
#E2459D
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471F79

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

Preview Lab → · Contrast checker → · Palette generator →

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