#472EAA#472EAA

#472EAA is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.185 H 284.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#472EAA
RGBrgb(71, 46, 170)
HSLhsl(252, 57%, 42%)
HSVhsv(252, 73%, 67%)
CMYKcmyk(58.2%, 72.9%, 0%, 33.3%)
CIE-LABlab(29.90, 44.55, -62.47)
CIE-LCHlch(29.90, 76.73, 305.49°)
OKLaboklab(41.52% 0.0452 -0.1799)
OKLCHoklch(41.52% 0.185 284.1)
XYZxyz(10.8290, 6.1952, 38.6476)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EAA #91AA2E
analogous
#2E53AA #472EAA #852EAA
triadic
#472EAA #AA472E #2EAA47
tetradic
#472EAA #AA2E53 #91AA2E #2EAA85
square
#472EAA #AA2E53 #91AA2E #2EAA85
split-complementary
#472EAA #AA852E #53AA2E
monochromatic
#1F144A #33217A #472EAA #6348CD #8C78DA

Accessibility & contrast

On white

9.38
#472EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#472EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EAA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EAA#FFFFFF#000000##FFFFFF
##472EAA1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#105069
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472eaa;
/* rgb */ color: rgb(71, 46, 170);
/* oklch */ color: oklch(41.5% 0.185 284.1);
Tailwind
colors: {
  custom: {
    50: '#8569c4',
    500: '#472eaa',
    950: '#000000',
  },
}
SCSS
$custom: #472eaa;
$custom-light: #8569c4;
$custom-dark: #000000;
JSON
{
  "hex": "#472eaa",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 252.097,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.18549,
    "h": 284.1
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#472EAA
secondary
#B2C371
accent
#E147C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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