#471481#471481

#471481 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.165 H 298.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#471481
RGBrgb(71, 20, 129)
HSLhsl(268, 73%, 29%)
HSVhsv(268, 84%, 51%)
CMYKcmyk(45%, 84.5%, 0%, 49.4%)
CIE-LABlab(21.67, 45.30, -50.73)
CIE-LCHlch(21.67, 68.01, 311.76°)
OKLaboklab(34.56% 0.0772 -0.1453)
OKLCHoklch(34.56% 0.165 298)
XYZxyz(6.8101, 3.4248, 21.0669)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471481 #4E8114
analogous
#141881 #471481 #7E1481
triadic
#471481 #814714 #148147
tetradic
#471481 #811418 #4E8114 #14817E
square
#471481 #811418 #4E8114 #14817E
split-complementary
#471481 #817E14 #188114
monochromatic
#0F041A #2A0C4C #471481 #641CB6 #8230DF

Accessibility & contrast

On white

12.46
#471481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#471481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471481
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471481#FFFFFF#000000##FFFFFF
##4714811.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#38344C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #471481;
/* rgb */ color: rgb(71, 20, 129);
/* oklch */ color: oklch(34.6% 0.165 298.0);
Tailwind
colors: {
  custom: {
    50: '#8159a7',
    500: '#471481',
    950: '#000000',
  },
}
SCSS
$custom: #471481;
$custom-light: #8159a7;
$custom-dark: #000000;
JSON
{
  "hex": "#471481",
  "rgb": {
    "r": 71,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 268.073,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34562,
    "c": 0.16455,
    "h": 298
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#471481
secondary
#7CB63B
accent
#F0389A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #471481

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

Preview Lab → · Contrast checker → · Palette generator →

#471481 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva