#472FB4#472FB4

#472FB4 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.197 H 282.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#472FB4
RGBrgb(71, 47, 180)
HSLhsl(251, 59%, 45%)
HSVhsv(251, 74%, 71%)
CMYKcmyk(60.6%, 73.9%, 0%, 29.4%)
CIE-LABlab(31.04, 47.04, -66.58)
CIE-LCHlch(31.04, 81.52, 305.24°)
OKLaboklab(42.61% 0.0422 -0.1919)
OKLCHoklch(42.61% 0.197 282.4)
XYZxyz(11.8507, 6.6671, 43.8336)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FB4 #9CB42F
analogous
#2F5AB4 #472FB4 #8A2FB4
triadic
#472FB4 #B4472F #2FB447
tetradic
#472FB4 #B42F5A #9CB42F #2FB48A
square
#472FB4 #B42F5A #9CB42F #2FB48A
split-complementary
#472FB4 #B48A2F #5AB42F
monochromatic
#211653 #342283 #472FB4 #674FD1 #9180DE

Accessibility & contrast

On white

9.00
#472FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#472FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FB4
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FB4#FFFFFF#000000##FFFFFF
##472FB41.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #472fb4;
/* rgb */ color: rgb(71, 47, 180);
/* oklch */ color: oklch(42.6% 0.197 282.4);
Tailwind
colors: {
  custom: {
    50: '#876acc',
    500: '#472fb4',
    950: '#000000',
  },
}
SCSS
$custom: #472fb4;
$custom-light: #876acc;
$custom-dark: #000000;
JSON
{
  "hex": "#472fb4",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 250.827,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42615,
    "c": 0.19651,
    "h": 282.4
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#472FB4
secondary
#B8C778
accent
#E246C6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #472FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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