#471F8D#471F8D

#471F8D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.167 H 292.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#471F8D
RGBrgb(71, 31, 141)
HSLhsl(262, 64%, 34%)
HSVhsv(262, 78%, 55%)
CMYKcmyk(49.6%, 78%, 0%, 44.7%)
CIE-LABlab(24.46, 43.77, -53.68)
CIE-LCHlch(24.46, 69.27, 309.20°)
OKLaboklab(36.85% 0.0648 -0.1541)
OKLCHoklch(36.85% 0.167 292.8)
XYZxyz(7.8949, 4.2424, 25.5970)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F8D #658D1F
analogous
#1F2E8D #471F8D #7E1F8D
triadic
#471F8D #8D471F #1F8D47
tetradic
#471F8D #8D1F2E #658D1F #1F8D7E
square
#471F8D #8D1F2E #658D1F #1F8D7E
split-complementary
#471F8D #8D7E1F #2E8D1F
monochromatic
#140929 #2E145B #471F8D #602ABF #804ED8

Accessibility & contrast

On white

11.36
#471F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#471F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F8D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F8D#FFFFFF#000000##FFFFFF
##471F8D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#313D55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #471f8d;
/* rgb */ color: rgb(71, 31, 141);
/* oklch */ color: oklch(36.9% 0.167 292.8);
Tailwind
colors: {
  custom: {
    50: '#825faf',
    500: '#471f8d',
    950: '#000000',
  },
}
SCSS
$custom: #471f8d;
$custom-light: #825faf;
$custom-dark: #000000;
JSON
{
  "hex": "#471f8d",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 261.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36853,
    "c": 0.16712,
    "h": 292.8
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

primary
#471F8D
secondary
#93BB4D
accent
#E741AB
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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