#472CB4#472CB4

#472CB4 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.200 H 282.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#472CB4
RGBrgb(71, 44, 180)
HSLhsl(252, 61%, 44%)
HSVhsv(252, 76%, 71%)
CMYKcmyk(60.6%, 75.6%, 0%, 29.4%)
CIE-LABlab(30.49, 48.60, -67.49)
CIE-LCHlch(30.49, 83.17, 305.76°)
OKLaboklab(42.23% 0.0443 -0.1946)
OKLCHoklch(42.23% 0.2 282.8)
XYZxyz(11.7349, 6.4354, 43.7950)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CB4 #99B42C
analogous
#2C55B4 #472CB4 #8B2CB4
triadic
#472CB4 #B4472C #2CB447
tetradic
#472CB4 #B42C55 #99B42C #2CB48B
square
#472CB4 #B42C55 #99B42C #2CB48B
split-complementary
#472CB4 #B48B2C #55B42C
monochromatic
#201452 #342083 #472CB4 #654AD3 #8F7CDF

Accessibility & contrast

On white

9.18
#472CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#472CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CB4
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CB4#FFFFFF#000000##FFFFFF
##472CB41.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472cb4;
/* rgb */ color: rgb(71, 44, 180);
/* oklch */ color: oklch(42.2% 0.200 282.8);
Tailwind
colors: {
  custom: {
    50: '#8769cc',
    500: '#472cb4',
    950: '#000000',
  },
}
SCSS
$custom: #472cb4;
$custom-light: #8769cc;
$custom-dark: #000000;
JSON
{
  "hex": "#472cb4",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 251.912,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42226,
    "c": 0.19954,
    "h": 282.8
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#472CB4
secondary
#B7C775
accent
#E444C4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #472CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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