#472A96#472A96

#472A96 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.165 H 288.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#472A96
RGBrgb(71, 42, 150)
HSLhsl(256, 56%, 38%)
HSVhsv(256, 72%, 59%)
CMYKcmyk(52.7%, 72%, 0%, 41.2%)
CIE-LABlab(27.29, 40.71, -54.60)
CIE-LCHlch(27.29, 68.11, 306.71°)
OKLaboklab(39.11% 0.0528 -0.1568)
OKLCHoklch(39.11% 0.165 288.6)
XYZxyz(8.9299, 5.1971, 29.3809)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A96 #79962A
analogous
#2A4396 #472A96 #7D2A96
triadic
#472A96 #96472A #2A9647
tetradic
#472A96 #962A43 #79962A #2A967D
square
#472A96 #962A43 #79962A #2A967D
split-complementary
#472A96 #967D2A #43962A
monochromatic
#1A0F36 #301D66 #472A96 #5E37C6 #8466D4

Accessibility & contrast

On white

10.30
#472A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#472A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A96
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A96#FFFFFF#000000##FFFFFF
##472A961.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#2A465D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472a96;
/* rgb */ color: rgb(71, 42, 150);
/* oklch */ color: oklch(39.1% 0.165 288.6);
Tailwind
colors: {
  custom: {
    50: '#8266b6',
    500: '#472a96',
    950: '#000000',
  },
}
SCSS
$custom: #472a96;
$custom-light: #8266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#472a96",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 256.111,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39107,
    "c": 0.16549,
    "h": 288.6
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#472A96
secondary
#A3BA61
accent
#E048B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472A96

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

Preview Lab → · Contrast checker → · Palette generator →

#472A96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva