#471F89#471F89

#471F89 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.163 H 293.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#471F89
RGBrgb(71, 31, 137)
HSLhsl(263, 63%, 33%)
HSVhsv(263, 77%, 54%)
CMYKcmyk(48.2%, 77.4%, 0%, 46.3%)
CIE-LABlab(24.08, 42.66, -51.80)
CIE-LCHlch(24.08, 67.11, 309.48°)
OKLaboklab(36.48% 0.0659 -0.1485)
OKLCHoklch(36.48% 0.163 293.9)
XYZxyz(7.6026, 4.1255, 24.0578)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F89 #61891F
analogous
#1F2C89 #471F89 #7C1F89
triadic
#471F89 #89471F #1F8947
tetradic
#471F89 #891F2C #61891F #1F897C
square
#471F89 #891F2C #61891F #1F897C
split-complementary
#471F89 #897C1F #2C891F
monochromatic
#130825 #2D1457 #471F89 #612ABB #804CD6

Accessibility & contrast

On white

11.51
#471F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #471F89
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F89#FFFFFF#000000##FFFFFF
##471F891.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471f89;
/* rgb */ color: rgb(71, 31, 137);
/* oklch */ color: oklch(36.5% 0.163 293.9);
Tailwind
colors: {
  custom: {
    50: '#815fac',
    500: '#471f89',
    950: '#000000',
  },
}
SCSS
$custom: #471f89;
$custom-light: #815fac;
$custom-dark: #000000;
JSON
{
  "hex": "#471f89",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 262.642,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36475,
    "c": 0.1625,
    "h": 293.9
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#471F89
secondary
#8FB94B
accent
#E642A8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471F89

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

Preview Lab → · Contrast checker → · Palette generator →

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