#471F8A#471F8A

#471F8A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.164 H 293.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#471F8A
RGBrgb(71, 31, 138)
HSLhsl(262, 63%, 33%)
HSVhsv(262, 78%, 54%)
CMYKcmyk(48.6%, 77.5%, 0%, 45.9%)
CIE-LABlab(24.18, 42.94, -52.27)
CIE-LCHlch(24.18, 67.65, 309.40°)
OKLaboklab(36.57% 0.0656 -0.1499)
OKLCHoklch(36.57% 0.164 293.6)
XYZxyz(7.6747, 4.1543, 24.4373)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F8A #628A1F
analogous
#1F2C8A #471F8A #7C1F8A
triadic
#471F8A #8A471F #1F8A47
tetradic
#471F8A #8A1F2C #628A1F #1F8A7C
square
#471F8A #8A1F2C #628A1F #1F8A7C
split-complementary
#471F8A #8A7C1F #2C8A1F
monochromatic
#140926 #2D1458 #471F8A #612ABC #804CD7

Accessibility & contrast

On white

11.47
#471F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#471F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F8A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F8A#FFFFFF#000000##FFFFFF
##471F8A1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#333C53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471f8a;
/* rgb */ color: rgb(71, 31, 138);
/* oklch */ color: oklch(36.6% 0.164 293.6);
Tailwind
colors: {
  custom: {
    50: '#815fad',
    500: '#471f8a',
    950: '#000000',
  },
}
SCSS
$custom: #471f8a;
$custom-light: #815fad;
$custom-dark: #000000;
JSON
{
  "hex": "#471f8a",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 262.43,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36569,
    "c": 0.16366,
    "h": 293.6
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#471F8A
secondary
#90BA4B
accent
#E641A9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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