#472AC1#472AC1

#472AC1 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.216 H 281.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#472AC1
RGBrgb(71, 42, 193)
HSLhsl(252, 64%, 46%)
HSVhsv(252, 78%, 76%)
CMYKcmyk(63.2%, 78.2%, 0%, 24.3%)
CIE-LABlab(31.45, 53.41, -73.59)
CIE-LCHlch(31.45, 90.93, 305.97°)
OKLaboklab(43.29% 0.042 -0.2123)
OKLCHoklch(43.29% 0.216 281.2)
XYZxyz(13.0491, 6.8448, 51.0753)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AC1 #A4C12A
analogous
#2A58C1 #472AC1 #922AC1
triadic
#472AC1 #C1472A #2AC147
tetradic
#472AC1 #C12A58 #A4C12A #2AC192
square
#472AC1 #C12A58 #A4C12A #2AC192
split-complementary
#472AC1 #C1922A #58C12A
monochromatic
#22145C #351F8F #472AC1 #6A4FD9 #9582E4

Accessibility & contrast

On white

8.86
#472AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#472AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AC1
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AC1#FFFFFF#000000##FFFFFF
##472AC11.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC5
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #472ac1;
/* rgb */ color: rgb(71, 42, 193);
/* oklch */ color: oklch(43.3% 0.216 281.2);
Tailwind
colors: {
  custom: {
    50: '#8a68d5',
    500: '#472ac1',
    950: '#000000',
  },
}
SCSS
$custom: #472ac1;
$custom-light: #8a68d5;
$custom-dark: #000000;
JSON
{
  "hex": "#472ac1",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 251.523,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43294,
    "c": 0.21646,
    "h": 281.2
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#472AC1
secondary
#BDCD7A
accent
#E741C7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #472AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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