#472684#472684

#472684 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.148 H 294.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#472684
RGBrgb(71, 38, 132)
HSLhsl(261, 55%, 33%)
HSVhsv(261, 71%, 52%)
CMYKcmyk(46.2%, 71.2%, 0%, 48.2%)
CIE-LABlab(24.93, 37.63, -47.29)
CIE-LCHlch(24.93, 60.44, 308.51°)
OKLaboklab(36.94% 0.0603 -0.1353)
OKLCHoklch(36.94% 0.148 294)
XYZxyz(7.4554, 4.3916, 22.2802)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472684 #638426
analogous
#263484 #472684 #762684
triadic
#472684 #844726 #268447
tetradic
#472684 #842634 #638426 #268476
square
#472684 #842634 #638426 #268476
split-complementary
#472684 #847626 #348426
monochromatic
#140B25 #2D1854 #472684 #6134B4 #8056CE

Accessibility & contrast

On white

11.18
#472684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#472684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##472684#FFFFFF#000000##FFFFFF
##4726841.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)
#003C87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#363D52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #472684;
/* rgb */ color: rgb(71, 38, 132);
/* oklch */ color: oklch(36.9% 0.148 294.0);
Tailwind
colors: {
  custom: {
    50: '#8063a9',
    500: '#472684',
    950: '#000000',
  },
}
SCSS
$custom: #472684;
$custom-light: #8063a9;
$custom-dark: #000000;
JSON
{
  "hex": "#472684",
  "rgb": {
    "r": 71,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 261.064,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36935,
    "c": 0.14816,
    "h": 294
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

primary
#472684
secondary
#91B353
accent
#DF49AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #472684

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

Preview Lab → · Contrast checker → · Palette generator →

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