#472FAB#472FAB

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

Color values

HEX#472FAB
RGBrgb(71, 47, 171)
HSLhsl(252, 57%, 43%)
HSVhsv(252, 73%, 67%)
CMYKcmyk(58.5%, 72.5%, 0%, 32.9%)
CIE-LABlab(30.19, 44.31, -62.60)
CIE-LCHlch(30.19, 76.69, 305.29°)
OKLaboklab(41.76% 0.0442 -0.1803)
OKLCHoklch(41.76% 0.186 283.8)
XYZxyz(10.9635, 6.3122, 39.1608)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FAB #93AB2F
analogous
#2F55AB #472FAB #852FAB
triadic
#472FAB #AB472F #2FAB47
tetradic
#472FAB #AB2F55 #93AB2F #2FAB85
square
#472FAB #AB2F55 #93AB2F #2FAB85
split-complementary
#472FAB #AB852F #55AB2F
monochromatic
#1F154B #33227B #472FAB #634ACD #8D7ADA

Accessibility & contrast

On white

9.28
#472FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#472FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FAB
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FAB#FFFFFF#000000##FFFFFF
##472FAB1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#0D516A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #472fab;
/* rgb */ color: rgb(71, 47, 171);
/* oklch */ color: oklch(41.8% 0.186 283.8);
Tailwind
colors: {
  custom: {
    50: '#866ac5',
    500: '#472fab',
    950: '#000000',
  },
}
SCSS
$custom: #472fab;
$custom-light: #866ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#472fab",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 251.613,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41755,
    "c": 0.18562,
    "h": 283.8
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#472FAB
secondary
#B3C373
accent
#E048C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #472FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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