#472C96#472C96

#472C96 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.163 H 288.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#472C96
RGBrgb(71, 44, 150)
HSLhsl(255, 55%, 38%)
HSVhsv(255, 71%, 59%)
CMYKcmyk(52.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(27.69, 39.60, -53.95)
CIE-LCHlch(27.69, 66.93, 306.28°)
OKLaboklab(39.39% 0.051 -0.1549)
OKLCHoklch(39.39% 0.163 288.2)
XYZxyz(9.0026, 5.3425, 29.4051)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C96 #7B962C
analogous
#2C4696 #472C96 #7C2C96
triadic
#472C96 #96472C #2C9647
tetradic
#472C96 #962C46 #7B962C #2C967C
square
#472C96 #962C46 #7B962C #2C967C
split-complementary
#472C96 #967C2C #46962C
monochromatic
#1A1037 #311E67 #472C96 #5D3AC5 #8469D3

Accessibility & contrast

On white

10.15
#472C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#472C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472C96
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C96#FFFFFF#000000##FFFFFF
##472C961.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#29475D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #472c96;
/* rgb */ color: rgb(71, 44, 150);
/* oklch */ color: oklch(39.4% 0.163 288.2);
Tailwind
colors: {
  custom: {
    50: '#8267b6',
    500: '#472c96',
    950: '#000000',
  },
}
SCSS
$custom: #472c96;
$custom-light: #8267b6;
$custom-dark: #000000;
JSON
{
  "hex": "#472c96",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 255.283,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.16309,
    "h": 288.2
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#472C96
secondary
#A4BA64
accent
#DE4AB8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472C96

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

Preview Lab → · Contrast checker → · Palette generator →

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