#472A97#472A97

#472A97 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.167 H 288.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#472A97
RGBrgb(71, 42, 151)
HSLhsl(256, 56%, 38%)
HSVhsv(256, 72%, 59%)
CMYKcmyk(53%, 72.2%, 0%, 40.8%)
CIE-LABlab(27.38, 41.01, -55.07)
CIE-LCHlch(27.38, 68.66, 306.67°)
OKLaboklab(39.2% 0.0526 -0.1582)
OKLCHoklch(39.2% 0.167 288.4)
XYZxyz(9.0108, 5.2295, 29.8068)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A97 #7A972A
analogous
#2A4497 #472A97 #7D2A97
triadic
#472A97 #97472A #2A9747
tetradic
#472A97 #972A44 #7A972A #2A977D
square
#472A97 #972A44 #7A972A #2A977D
split-complementary
#472A97 #977D2A #44972A
monochromatic
#1A0F37 #301D67 #472A97 #5E37C7 #8467D5

Accessibility & contrast

On white

10.26
#472A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#472A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A97
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A97#FFFFFF#000000##FFFFFF
##472A971.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#29475D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #472a97;
/* rgb */ color: rgb(71, 42, 151);
/* oklch */ color: oklch(39.2% 0.167 288.4);
Tailwind
colors: {
  custom: {
    50: '#8366b7',
    500: '#472a97',
    950: '#000000',
  },
}
SCSS
$custom: #472a97;
$custom-light: #8366b7;
$custom-dark: #000000;
JSON
{
  "hex": "#472a97",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 255.963,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39198,
    "c": 0.16673,
    "h": 288.4
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472A97

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

Preview Lab → · Contrast checker → · Palette generator →

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