#472A91#472A91

#472A91 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.159 H 289.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#472A91
RGBrgb(71, 42, 145)
HSLhsl(257, 55%, 37%)
HSVhsv(257, 71%, 57%)
CMYKcmyk(51%, 71%, 0%, 43.1%)
CIE-LABlab(26.85, 39.22, -52.25)
CIE-LCHlch(26.85, 65.33, 306.90°)
OKLaboklab(38.66% 0.0538 -0.1499)
OKLCHoklch(38.66% 0.159 289.7)
XYZxyz(8.5359, 5.0395, 27.3055)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A91 #74912A
analogous
#2A4191 #472A91 #7B2A91
triadic
#472A91 #91472A #2A9147
tetradic
#472A91 #912A41 #74912A #2A917B
square
#472A91 #912A41 #74912A #2A917B
split-complementary
#472A91 #917B2A #41912A
monochromatic
#190F32 #301C62 #472A91 #5E38C0 #8363D2

Accessibility & contrast

On white

10.46
#472A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#472A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A91
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A91#FFFFFF#000000##FFFFFF
##472A911.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#2D445A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472a91;
/* rgb */ color: rgb(71, 42, 145);
/* oklch */ color: oklch(38.7% 0.159 289.7);
Tailwind
colors: {
  custom: {
    50: '#8266b2',
    500: '#472a91',
    950: '#000000',
  },
}
SCSS
$custom: #472a91;
$custom-light: #8266b2;
$custom-dark: #000000;
JSON
{
  "hex": "#472a91",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 256.893,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38655,
    "c": 0.15929,
    "h": 289.7
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#472A91
secondary
#9FB85F
accent
#DE49B4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472A91

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

Preview Lab → · Contrast checker → · Palette generator →

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