#471F92#471F92

#471F92 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.173 H 291.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#471F92
RGBrgb(71, 31, 146)
HSLhsl(261, 65%, 35%)
HSVhsv(261, 79%, 57%)
CMYKcmyk(51.4%, 78.8%, 0%, 42.7%)
CIE-LABlab(24.94, 45.16, -56.00)
CIE-LCHlch(24.94, 71.94, 308.89°)
OKLaboklab(37.33% 0.0633 -0.1608)
OKLCHoklch(37.33% 0.173 291.5)
XYZxyz(8.2754, 4.3946, 27.6008)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471F92 #6A921F
analogous
#1F3092 #471F92 #811F92
triadic
#471F92 #92471F #1F9247
tetradic
#471F92 #921F30 #6A921F #1F9281
square
#471F92 #921F30 #6A921F #1F9281
split-complementary
#471F92 #92811F #30921F
monochromatic
#160A2D #2E1460 #471F92 #602AC4 #8151DA

Accessibility & contrast

On white

11.18
#471F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#471F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471F92
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471F92#FFFFFF#000000##FFFFFF
##471F921.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#2D3F58
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #471f92;
/* rgb */ color: rgb(71, 31, 146);
/* oklch */ color: oklch(37.3% 0.173 291.5);
Tailwind
colors: {
  custom: {
    50: '#8360b3',
    500: '#471f92',
    950: '#000000',
  },
}
SCSS
$custom: #471f92;
$custom-light: #8360b3;
$custom-dark: #000000;
JSON
{
  "hex": "#471f92",
  "rgb": {
    "r": 71,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 260.87,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37333,
    "c": 0.17285,
    "h": 291.5
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#471F92
secondary
#97BD50
accent
#E840AD
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #471F92

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

Preview Lab → · Contrast checker → · Palette generator →

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