#472AC7#472AC7

#472AC7 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.223 H 280.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#472AC7
RGBrgb(71, 42, 199)
HSLhsl(251, 65%, 47%)
HSVhsv(251, 79%, 78%)
CMYKcmyk(64.3%, 78.9%, 0%, 22%)
CIE-LABlab(32.07, 55.15, -76.08)
CIE-LCHlch(32.07, 93.96, 305.94°)
OKLaboklab(43.91% 0.0403 -0.2196)
OKLCHoklch(43.91% 0.223 280.4)
XYZxyz(13.7320, 7.1180, 54.6720)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AC7 #AAC72A
analogous
#2A5BC7 #472AC7 #962AC7
triadic
#472AC7 #C7472A #2AC747
tetradic
#472AC7 #C72A5B #AAC72A #2AC796
square
#472AC7 #C72A5B #AAC72A #2AC796
split-complementary
#472AC7 #C7962A #5BC72A
monochromatic
#231562 #351F94 #472AC7 #6C53DB #9886E5

Accessibility & contrast

On white

8.66
#472AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#472AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AC7
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AC7#FFFFFF#000000##FFFFFF
##472AC71.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0045C4
Tritanopia (blue-blind)
#005979
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #472ac7;
/* rgb */ color: rgb(71, 42, 199);
/* oklch */ color: oklch(43.9% 0.223 280.4);
Tailwind
colors: {
  custom: {
    50: '#8b69d9',
    500: '#472ac7',
    950: '#000000',
  },
}
SCSS
$custom: #472ac7;
$custom-light: #8b69d9;
$custom-dark: #000000;
JSON
{
  "hex": "#472ac7",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 251.083,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43912,
    "c": 0.22327,
    "h": 280.4
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#472AC7
secondary
#C0CF7E
accent
#E840C9
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #472AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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