#472899#472899

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

Color values

HEX#472899
RGBrgb(71, 40, 153)
HSLhsl(256, 59%, 38%)
HSVhsv(256, 74%, 60%)
CMYKcmyk(53.6%, 73.9%, 0%, 40%)
CIE-LABlab(27.18, 42.68, -56.63)
CIE-LCHlch(27.18, 70.91, 307.00°)
OKLaboklab(39.11% 0.054 -0.1628)
OKLCHoklch(39.11% 0.171 288.3)
XYZxyz(9.1054, 5.1566, 30.6464)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472899 #7A9928
analogous
#284299 #472899 #7F2899
triadic
#472899 #994728 #289947
tetradic
#472899 #992842 #7A9928 #28997F
square
#472899 #992842 #7A9928 #28997F
split-complementary
#472899 #997F28 #429928
monochromatic
#1A0F38 #301B68 #472899 #5E35CA #8465D7

Accessibility & contrast

On white

10.34
#472899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472899
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472899#FFFFFF#000000##FFFFFF
##4728991.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#27465E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #472899;
/* rgb */ color: rgb(71, 40, 153);
/* oklch */ color: oklch(39.1% 0.171 288.3);
Tailwind
colors: {
  custom: {
    50: '#8365b8',
    500: '#472899',
    950: '#000000',
  },
}
SCSS
$custom: #472899;
$custom-light: #8365b8;
$custom-dark: #000000;
JSON
{
  "hex": "#472899",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 256.46,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.17147,
    "h": 288.3
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#472899
secondary
#A3BD60
accent
#E246B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #472899

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

Preview Lab → · Contrast checker → · Palette generator →

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