#472997#472997

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

Color values

HEX#472997
RGBrgb(71, 41, 151)
HSLhsl(256, 57%, 38%)
HSVhsv(256, 73%, 59%)
CMYKcmyk(53%, 72.8%, 0%, 40.8%)
CIE-LABlab(27.18, 41.55, -55.39)
CIE-LCHlch(27.18, 69.24, 306.88°)
OKLaboklab(39.06% 0.0535 -0.1591)
OKLCHoklch(39.06% 0.168 288.6)
XYZxyz(8.9758, 5.1594, 29.7951)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472997 #799729
analogous
#294297 #472997 #7E2997
triadic
#472997 #974729 #299747
tetradic
#472997 #972942 #799729 #29977E
square
#472997 #972942 #799729 #29977E
split-complementary
#472997 #977E29 #429729
monochromatic
#1A0F37 #301C67 #472997 #5E36C7 #8465D5

Accessibility & contrast

On white

10.33
#472997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#472997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472997
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472997#FFFFFF#000000##FFFFFF
##4729971.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#29465D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472997;
/* rgb */ color: rgb(71, 41, 151);
/* oklch */ color: oklch(39.1% 0.168 288.6);
Tailwind
colors: {
  custom: {
    50: '#8366b7',
    500: '#472997',
    950: '#000000',
  },
}
SCSS
$custom: #472997;
$custom-light: #8366b7;
$custom-dark: #000000;
JSON
{
  "hex": "#472997",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 256.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3906,
    "c": 0.1679,
    "h": 288.6
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#472997
secondary
#A3BB61
accent
#E147B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472997

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

Preview Lab → · Contrast checker → · Palette generator →

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