#472AC2#472AC2

#472AC2 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.218 H 281.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#472AC2
RGBrgb(71, 42, 194)
HSLhsl(251, 64%, 46%)
HSVhsv(251, 78%, 76%)
CMYKcmyk(63.4%, 78.4%, 0%, 23.9%)
CIE-LABlab(31.55, 53.70, -74.00)
CIE-LCHlch(31.55, 91.43, 305.97°)
OKLaboklab(43.4% 0.0418 -0.2136)
OKLCHoklch(43.4% 0.218 281.1)
XYZxyz(13.1610, 6.8896, 51.6647)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AC2 #A5C22A
analogous
#2A59C2 #472AC2 #932AC2
triadic
#472AC2 #C2472A #2AC247
tetradic
#472AC2 #C22A59 #A5C22A #2AC293
square
#472AC2 #C22A59 #A5C22A #2AC293
split-complementary
#472AC2 #C2932A #59C22A
monochromatic
#22145D #351F90 #472AC2 #6A50D9 #9582E4

Accessibility & contrast

On white

8.83
#472AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#472AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AC2
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AC2#FFFFFF#000000##FFFFFF
##472AC21.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC6
Deuteranopia (green-blind)
#0045BF
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #472ac2;
/* rgb */ color: rgb(71, 42, 194);
/* oklch */ color: oklch(43.4% 0.218 281.1);
Tailwind
colors: {
  custom: {
    50: '#8a68d6',
    500: '#472ac2',
    950: '#000000',
  },
}
SCSS
$custom: #472ac2;
$custom-light: #8a68d6;
$custom-dark: #000000;
JSON
{
  "hex": "#472ac2",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 251.447,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43396,
    "c": 0.2176,
    "h": 281.1
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#472AC2
secondary
#BDCD7B
accent
#E740C8
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #472AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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