#471D89#471D89

#471D89 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.165 H 294.2°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#471D89
RGBrgb(71, 29, 137)
HSLhsl(263, 65%, 33%)
HSVhsv(263, 79%, 54%)
CMYKcmyk(48.2%, 78.8%, 0%, 46.3%)
CIE-LABlab(23.75, 43.61, -52.34)
CIE-LCHlch(23.75, 68.13, 309.80°)
OKLaboklab(36.24% 0.0676 -0.1501)
OKLCHoklch(36.24% 0.165 294.2)
XYZxyz(7.5520, 4.0242, 24.0409)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471D89 #5F891D
analogous
#1D2989 #471D89 #7D1D89
triadic
#471D89 #89471D #1D8947
tetradic
#471D89 #891D29 #5F891D #1D897D
square
#471D89 #891D29 #5F891D #1D897D
split-complementary
#471D89 #897D1D #29891D
monochromatic
#130824 #2D1256 #471D89 #6128BC #8048D8

Accessibility & contrast

On white

11.64
#471D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#471D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471D89
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471D89#FFFFFF#000000##FFFFFF
##471D891.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #471d89;
/* rgb */ color: rgb(71, 29, 137);
/* oklch */ color: oklch(36.2% 0.165 294.2);
Tailwind
colors: {
  custom: {
    50: '#815eac',
    500: '#471d89',
    950: '#000000',
  },
}
SCSS
$custom: #471d89;
$custom-light: #815eac;
$custom-dark: #000000;
JSON
{
  "hex": "#471d89",
  "rgb": {
    "r": 71,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 263.333,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36244,
    "c": 0.16463,
    "h": 294.2
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#471D89
secondary
#8EBA47
accent
#E840A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471D89

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

Preview Lab → · Contrast checker → · Palette generator →

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