#472FAC#472FAC

#472FAC is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.187 H 283.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#472FAC
RGBrgb(71, 47, 172)
HSLhsl(252, 57%, 43%)
HSVhsv(252, 73%, 67%)
CMYKcmyk(58.7%, 72.7%, 0%, 32.5%)
CIE-LABlab(30.28, 44.62, -63.05)
CIE-LCHlch(30.28, 77.23, 305.29°)
OKLaboklab(41.85% 0.044 -0.1816)
OKLCHoklch(41.85% 0.187 283.6)
XYZxyz(11.0592, 6.3505, 39.6647)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FAC #94AC2F
analogous
#2F55AC #472FAC #852FAC
triadic
#472FAC #AC472F #2FAC47
tetradic
#472FAC #AC2F55 #94AC2F #2FAC85
square
#472FAC #AC2F55 #94AC2F #2FAC85
split-complementary
#472FAC #AC852F #55AC2F
monochromatic
#1F154C #33227C #472FAC #644BCE #8D7BDB

Accessibility & contrast

On white

9.25
#472FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#472FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FAC
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FAC#FFFFFF#000000##FFFFFF
##472FAC1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472fac;
/* rgb */ color: rgb(71, 47, 172);
/* oklch */ color: oklch(41.8% 0.187 283.6);
Tailwind
colors: {
  custom: {
    50: '#866ac6',
    500: '#472fac',
    950: '#000000',
  },
}
SCSS
$custom: #472fac;
$custom-light: #866ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#472fac",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 251.52,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.18684,
    "h": 283.6
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#472FAC
secondary
#B4C374
accent
#E047C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #472FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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