#472E99#472E99

#472E99 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.164 H 287.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#472E99
RGBrgb(71, 46, 153)
HSLhsl(254, 54%, 39%)
HSVhsv(254, 70%, 60%)
CMYKcmyk(53.6%, 69.9%, 0%, 40%)
CIE-LABlab(28.36, 39.38, -54.69)
CIE-LCHlch(28.36, 67.39, 305.76°)
OKLaboklab(39.95% 0.0486 -0.1571)
OKLCHoklch(39.95% 0.164 287.2)
XYZxyz(9.3236, 5.5930, 30.7191)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472E99 #80992E
analogous
#2E4B99 #472E99 #7D2E99
triadic
#472E99 #99472E #2E9947
tetradic
#472E99 #992E4B #80992E #2E997D
square
#472E99 #992E4B #80992E #2E997D
split-complementary
#472E99 #997D2E #4B992E
monochromatic
#1B123B #31206A #472E99 #5E3FC5 #866ED3

Accessibility & contrast

On white

9.91
#472E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#472E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472E99
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472E99#FFFFFF#000000##FFFFFF
##472E991.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#274960
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #472e99;
/* rgb */ color: rgb(71, 46, 153);
/* oklch */ color: oklch(40.0% 0.164 287.2);
Tailwind
colors: {
  custom: {
    50: '#8369b8',
    500: '#472e99',
    950: '#000000',
  },
}
SCSS
$custom: #472e99;
$custom-light: #8369b8;
$custom-dark: #000000;
JSON
{
  "hex": "#472e99",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 254.019,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39954,
    "c": 0.16442,
    "h": 287.2
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#472E99
secondary
#A7BB68
accent
#DD4BBB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472E99

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

Preview Lab → · Contrast checker → · Palette generator →

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