#472FA8#472FA8

#472FA8 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.182 H 284.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#472FA8
RGBrgb(71, 47, 168)
HSLhsl(252, 56%, 42%)
HSVhsv(252, 72%, 66%)
CMYKcmyk(57.7%, 72%, 0%, 34.1%)
CIE-LABlab(29.91, 43.40, -61.25)
CIE-LCHlch(29.91, 75.07, 305.32°)
OKLaboklab(41.47% 0.0448 -0.1763)
OKLCHoklch(41.47% 0.182 284.3)
XYZxyz(10.6808, 6.1991, 37.6719)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FA8 #90A82F
analogous
#2F53A8 #472FA8 #842FA8
triadic
#472FA8 #A8472F #2FA847
tetradic
#472FA8 #A82F53 #90A82F #2FA884
square
#472FA8 #A82F53 #90A82F #2FA884
split-complementary
#472FA8 #A8842F #53A82F
monochromatic
#1F1448 #332278 #472FA8 #6248CC #8B78D9

Accessibility & contrast

On white

9.38
#472FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#472FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FA8
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FA8#FFFFFF#000000##FFFFFF
##472FA81.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#145068
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472fa8;
/* rgb */ color: rgb(71, 47, 168);
/* oklch */ color: oklch(41.5% 0.182 284.3);
Tailwind
colors: {
  custom: {
    50: '#856ac3',
    500: '#472fa8',
    950: '#000000',
  },
}
SCSS
$custom: #472fa8;
$custom-light: #856ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#472fa8",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 251.901,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41473,
    "c": 0.18194,
    "h": 284.3
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#472FA8
secondary
#B2C171
accent
#E048C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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