#471F7B#471F7B

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

Color values

HEX#471F7B
RGBrgb(71, 31, 123)
HSLhsl(266, 60%, 30%)
HSVhsv(266, 75%, 48%)
CMYKcmyk(42.3%, 74.8%, 0%, 51.8%)
CIE-LABlab(22.83, 38.81, -45.03)
CIE-LCHlch(22.83, 59.45, 310.76°)
OKLaboklab(35.2% 0.0694 -0.1287)
OKLCHoklch(35.2% 0.146 298.3)
XYZxyz(6.6628, 3.7495, 19.1077)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F7B #537B1F
analogous
#1F257B #471F7B #751F7B
triadic
#471F7B #7B471F #1F7B47
tetradic
#471F7B #7B1F25 #537B1F #1F7B75
square
#471F7B #7B1F25 #537B1F #1F7B75
split-complementary
#471F7B #7B751F #257B1F
monochromatic
#0F0619 #2B134A #471F7B #632BAC #8144D0

Accessibility & contrast

On white

12.00
#471F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471F7B
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F7B#FFFFFF#000000##FFFFFF
##471F7B1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#3A364B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #471f7b;
/* rgb */ color: rgb(71, 31, 123);
/* oklch */ color: oklch(35.2% 0.146 298.3);
Tailwind
colors: {
  custom: {
    50: '#7f5fa2',
    500: '#471f7b',
    950: '#000000',
  },
}
SCSS
$custom: #471f7b;
$custom-light: #7f5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#471f7b",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 266.087,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35201,
    "c": 0.14617,
    "h": 298.3
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#471F7B
secondary
#82AE48
accent
#E3459E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #471F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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