#472FB3#472FB3

#472FB3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.195 H 282.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#472FB3
RGBrgb(71, 47, 179)
HSLhsl(251, 58%, 44%)
HSVhsv(251, 74%, 70%)
CMYKcmyk(60.3%, 73.7%, 0%, 29.8%)
CIE-LABlab(30.94, 46.74, -66.14)
CIE-LCHlch(30.94, 80.99, 305.25°)
OKLaboklab(42.52% 0.0424 -0.1906)
OKLCHoklch(42.52% 0.195 282.5)
XYZxyz(11.7492, 6.6265, 43.2990)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FB3 #9BB32F
analogous
#2F59B3 #472FB3 #892FB3
triadic
#472FB3 #B3472F #2FB347
tetradic
#472FB3 #B32F59 #9BB32F #2FB389
square
#472FB3 #B32F59 #9BB32F #2FB389
split-complementary
#472FB3 #B3892F #59B32F
monochromatic
#211652 #342283 #472FB3 #664FD1 #907FDD

Accessibility & contrast

On white

9.03
#472FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472FB3
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FB3#FFFFFF#000000##FFFFFF
##472FB31.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #472fb3;
/* rgb */ color: rgb(71, 47, 179);
/* oklch */ color: oklch(42.5% 0.195 282.5);
Tailwind
colors: {
  custom: {
    50: '#876acb',
    500: '#472fb3',
    950: '#000000',
  },
}
SCSS
$custom: #472fb3;
$custom-light: #876acb;
$custom-dark: #000000;
JSON
{
  "hex": "#472fb3",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 250.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42518,
    "c": 0.19531,
    "h": 282.5
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#472FB3
secondary
#B8C678
accent
#E246C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #472FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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