#472EAC#472EAC

#472EAC is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.188 H 283.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#472EAC
RGBrgb(71, 46, 172)
HSLhsl(252, 58%, 43%)
HSVhsv(252, 73%, 67%)
CMYKcmyk(58.7%, 73.3%, 0%, 32.5%)
CIE-LABlab(30.09, 45.16, -63.36)
CIE-LCHlch(30.09, 77.81, 305.48°)
OKLaboklab(41.71% 0.0448 -0.1825)
OKLCHoklch(41.71% 0.188 283.8)
XYZxyz(11.0196, 6.2714, 39.6516)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EAC #93AC2E
analogous
#2E54AC #472EAC #862EAC
triadic
#472EAC #AC472E #2EAC47
tetradic
#472EAC #AC2E54 #93AC2E #2EAC86
square
#472EAC #AC2E54 #93AC2E #2EAC86
split-complementary
#472EAC #AC862E #54AC2E
monochromatic
#1F144B #33217C #472EAC #6349CE #8D79DB

Accessibility & contrast

On white

9.32
#472EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472EAC
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EAC#FFFFFF#000000##FFFFFF
##472EAC1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#0B516A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #472eac;
/* rgb */ color: rgb(71, 46, 172);
/* oklch */ color: oklch(41.7% 0.188 283.8);
Tailwind
colors: {
  custom: {
    50: '#8669c6',
    500: '#472eac',
    950: '#000000',
  },
}
SCSS
$custom: #472eac;
$custom-light: #8669c6;
$custom-dark: #000000;
JSON
{
  "hex": "#472eac",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 251.905,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.18793,
    "h": 283.8
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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