#471F88#471F88

#471F88 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.161 H 294.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#471F88
RGBrgb(71, 31, 136)
HSLhsl(263, 63%, 33%)
HSVhsv(263, 77%, 53%)
CMYKcmyk(47.8%, 77.2%, 0%, 46.7%)
CIE-LABlab(23.99, 42.39, -51.33)
CIE-LCHlch(23.99, 66.57, 309.55°)
OKLaboklab(36.38% 0.0662 -0.1472)
OKLCHoklch(36.38% 0.161 294.2)
XYZxyz(7.5312, 4.0969, 23.6818)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F88 #60881F
analogous
#1F2C88 #471F88 #7B1F88
triadic
#471F88 #88471F #1F8847
tetradic
#471F88 #881F2C #60881F #1F887B
square
#471F88 #881F2C #60881F #1F887B
split-complementary
#471F88 #887B1F #2C881F
monochromatic
#130824 #2D1456 #471F88 #612ABA #804BD6

Accessibility & contrast

On white

11.54
#471F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#471F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F88
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F88#FFFFFF#000000##FFFFFF
##471F881.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#343B52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #471f88;
/* rgb */ color: rgb(71, 31, 136);
/* oklch */ color: oklch(36.4% 0.161 294.2);
Tailwind
colors: {
  custom: {
    50: '#815fac',
    500: '#471f88',
    950: '#000000',
  },
}
SCSS
$custom: #471f88;
$custom-light: #815fac;
$custom-dark: #000000;
JSON
{
  "hex": "#471f88",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 262.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36382,
    "c": 0.16134,
    "h": 294.2
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#471F88
secondary
#8FB94A
accent
#E642A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #471F88

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

Preview Lab → · Contrast checker → · Palette generator →

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