#472CB3#472CB3

#472CB3 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.198 H 283.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#472CB3
RGBrgb(71, 44, 179)
HSLhsl(252, 61%, 44%)
HSVhsv(252, 75%, 70%)
CMYKcmyk(60.3%, 75.4%, 0%, 29.8%)
CIE-LABlab(30.39, 48.31, -67.05)
CIE-LCHlch(30.39, 82.64, 305.77°)
OKLaboklab(42.13% 0.0445 -0.1933)
OKLCHoklch(42.13% 0.198 283)
XYZxyz(11.6334, 6.3948, 43.2604)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CB3 #98B32C
analogous
#2C54B3 #472CB3 #8A2CB3
triadic
#472CB3 #B3472C #2CB347
tetradic
#472CB3 #B32C54 #98B32C #2CB38A
square
#472CB3 #B32C54 #98B32C #2CB38A
split-complementary
#472CB3 #B38A2C #54B32C
monochromatic
#201451 #342082 #472CB3 #654AD2 #8F7BDF

Accessibility & contrast

On white

9.21
#472CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#472CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CB3
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CB3#FFFFFF#000000##FFFFFF
##472CB31.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472cb3;
/* rgb */ color: rgb(71, 44, 179);
/* oklch */ color: oklch(42.1% 0.198 283.0);
Tailwind
colors: {
  custom: {
    50: '#8769cb',
    500: '#472cb3',
    950: '#000000',
  },
}
SCSS
$custom: #472cb3;
$custom-light: #8769cb;
$custom-dark: #000000;
JSON
{
  "hex": "#472cb3",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 252,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.19836,
    "h": 283
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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