#472084#472084

#472084 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.156 H 295.2°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#472084
RGBrgb(71, 32, 132)
HSLhsl(263, 61%, 32%)
HSVhsv(263, 76%, 52%)
CMYKcmyk(46.2%, 75.8%, 0%, 48.2%)
CIE-LABlab(23.80, 40.79, -49.13)
CIE-LCHlch(23.80, 63.86, 309.70°)
OKLaboklab(36.13% 0.0663 -0.1407)
OKLCHoklch(36.13% 0.156 295.2)
XYZxyz(7.2788, 4.0384, 22.2213)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472084 #5D8420
analogous
#202B84 #472084 #792084
triadic
#472084 #844720 #208447
tetradic
#472084 #84202B #5D8420 #208479
square
#472084 #84202B #5D8420 #208479
split-complementary
#472084 #847920 #2B8420
monochromatic
#120821 #2D1453 #472084 #612CB5 #804BD3

Accessibility & contrast

On white

11.62
#472084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#472084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472084
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472084#FFFFFF#000000##FFFFFF
##4720841.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#363A50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472084;
/* rgb */ color: rgb(71, 32, 132);
/* oklch */ color: oklch(36.1% 0.156 295.2);
Tailwind
colors: {
  custom: {
    50: '#8160a9',
    500: '#472084',
    950: '#000000',
  },
}
SCSS
$custom: #472084;
$custom-light: #8160a9;
$custom-dark: #000000;
JSON
{
  "hex": "#472084",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 263.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36134,
    "c": 0.15555,
    "h": 295.2
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#472084
secondary
#8CB64A
accent
#E444A6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472084

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

Preview Lab → · Contrast checker → · Palette generator →

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