#472AAC#472AAC

#472AAC is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.192 H 284.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#472AAC
RGBrgb(71, 42, 172)
HSLhsl(253, 61%, 42%)
HSVhsv(253, 76%, 67%)
CMYKcmyk(58.7%, 75.6%, 0%, 32.5%)
CIE-LABlab(29.35, 47.25, -64.58)
CIE-LCHlch(29.35, 80.02, 306.19°)
OKLaboklab(41.19% 0.0477 -0.1861)
OKLCHoklch(41.19% 0.192 284.4)
XYZxyz(10.8706, 5.9734, 39.6019)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AAC #8FAC2A
analogous
#2A4EAC #472AAC #882AAC
triadic
#472AAC #AC472A #2AAC47
tetradic
#472AAC #AC2A4E #8FAC2A #2AAC88
square
#472AAC #AC2A4E #8FAC2A #2AAC88
split-complementary
#472AAC #AC882A #4EAC2A
monochromatic
#1E124A #331E7B #472AAC #6242D1 #8B73DD

Accessibility & contrast

On white

9.57
#472AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#472AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AAC
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AAC#FFFFFF#000000##FFFFFF
##472AAC1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#0C4F69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472aac;
/* rgb */ color: rgb(71, 42, 172);
/* oklch */ color: oklch(41.2% 0.192 284.4);
Tailwind
colors: {
  custom: {
    50: '#8667c6',
    500: '#472aac',
    950: '#000000',
  },
}
SCSS
$custom: #472aac;
$custom-light: #8667c6;
$custom-dark: #000000;
JSON
{
  "hex": "#472aac",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 253.385,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41189,
    "c": 0.19208,
    "h": 284.4
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#472AAC
secondary
#B1C46D
accent
#E444C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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