#472EAB#472EAB

#472EAB is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.187 H 283.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#472EAB
RGBrgb(71, 46, 171)
HSLhsl(252, 58%, 43%)
HSVhsv(252, 73%, 67%)
CMYKcmyk(58.5%, 73.1%, 0%, 32.9%)
CIE-LABlab(29.99, 44.85, -62.92)
CIE-LCHlch(29.99, 77.27, 305.48°)
OKLaboklab(41.62% 0.045 -0.1812)
OKLCHoklch(41.62% 0.187 283.9)
XYZxyz(10.9240, 6.2332, 39.1477)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EAB #92AB2E
analogous
#2E53AB #472EAB #862EAB
triadic
#472EAB #AB472E #2EAB47
tetradic
#472EAB #AB2E53 #92AB2E #2EAB86
square
#472EAB #AB2E53 #92AB2E #2EAB86
split-complementary
#472EAB #AB862E #53AB2E
monochromatic
#1F144B #33217B #472EAB #6348CE #8C79DB

Accessibility & contrast

On white

9.35
#472EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#472EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EAB
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EAB#FFFFFF#000000##FFFFFF
##472EAB1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#0E506A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #472eab;
/* rgb */ color: rgb(71, 46, 171);
/* oklch */ color: oklch(41.6% 0.187 283.9);
Tailwind
colors: {
  custom: {
    50: '#8669c5',
    500: '#472eab',
    950: '#000000',
  },
}
SCSS
$custom: #472eab;
$custom-light: #8669c5;
$custom-dark: #000000;
JSON
{
  "hex": "#472eab",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 252,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.18671,
    "h": 283.9
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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