#472A99#472A99

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

Color values

HEX#472A99
RGBrgb(71, 42, 153)
HSLhsl(256, 57%, 38%)
HSVhsv(256, 73%, 60%)
CMYKcmyk(53.6%, 72.5%, 0%, 40%)
CIE-LABlab(27.56, 41.61, -56.00)
CIE-LCHlch(27.56, 69.76, 306.61°)
OKLaboklab(39.38% 0.0522 -0.1609)
OKLCHoklch(39.38% 0.169 288)
XYZxyz(9.1746, 5.2950, 30.6694)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A99 #7C992A
analogous
#2A4499 #472A99 #7E2A99
triadic
#472A99 #99472A #2A9947
tetradic
#472A99 #992A44 #7C992A #2A997E
square
#472A99 #992A44 #7C992A #2A997E
split-complementary
#472A99 #997E2A #44992A
monochromatic
#1A1039 #311D69 #472A99 #5E38C8 #8568D6

Accessibility & contrast

On white

10.20
#472A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#472A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A99
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A99#FFFFFF#000000##FFFFFF
##472A991.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#27475E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #472a99;
/* rgb */ color: rgb(71, 42, 153);
/* oklch */ color: oklch(39.4% 0.169 288.0);
Tailwind
colors: {
  custom: {
    50: '#8366b8',
    500: '#472a99',
    950: '#000000',
  },
}
SCSS
$custom: #472a99;
$custom-light: #8366b8;
$custom-dark: #000000;
JSON
{
  "hex": "#472a99",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 255.676,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.16919,
    "h": 288
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#472A99
secondary
#A5BC63
accent
#E048B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #472A99

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

Preview Lab → · Contrast checker → · Palette generator →

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