#471F90#471F90

#471F90 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.171 H 292.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#471F90
RGBrgb(71, 31, 144)
HSLhsl(261, 65%, 34%)
HSVhsv(261, 78%, 56%)
CMYKcmyk(50.7%, 78.5%, 0%, 43.5%)
CIE-LABlab(24.74, 44.61, -55.08)
CIE-LCHlch(24.74, 70.87, 309.00°)
OKLaboklab(37.14% 0.0639 -0.1581)
OKLCHoklch(37.14% 0.171 292)
XYZxyz(8.1211, 4.3329, 26.7886)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F90 #68901F
analogous
#1F3090 #471F90 #801F90
triadic
#471F90 #90471F #1F9047
tetradic
#471F90 #901F30 #68901F #1F9080
square
#471F90 #901F30 #68901F #1F9080
split-complementary
#471F90 #90801F #30901F
monochromatic
#15092B #2E145E #471F90 #602AC2 #8150D9

Accessibility & contrast

On white

11.25
#471F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#471F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F90
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F90#FFFFFF#000000##FFFFFF
##471F901.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#2F3F57
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #471f90;
/* rgb */ color: rgb(71, 31, 144);
/* oklch */ color: oklch(37.1% 0.171 292.0);
Tailwind
colors: {
  custom: {
    50: '#8260b2',
    500: '#471f90',
    950: '#000000',
  },
}
SCSS
$custom: #471f90;
$custom-light: #8260b2;
$custom-dark: #000000;
JSON
{
  "hex": "#471f90",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 261.239,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3714,
    "c": 0.17055,
    "h": 292
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#471F90
secondary
#95BC4E
accent
#E840AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471F90

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

Preview Lab → · Contrast checker → · Palette generator →

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