#472BB7#472BB7

#472BB7 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.4% C 0.204 H 282.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#472BB7
RGBrgb(71, 43, 183)
HSLhsl(252, 62%, 44%)
HSVhsv(252, 77%, 72%)
CMYKcmyk(61.2%, 76.5%, 0%, 28.2%)
CIE-LABlab(30.61, 50.00, -69.07)
CIE-LCHlch(30.61, 85.27, 305.90°)
OKLaboklab(42.4% 0.0442 -0.1992)
OKLCHoklch(42.4% 0.204 282.5)
XYZxyz(12.0070, 6.4854, 45.4097)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BB7 #9BB72B
analogous
#2B55B7 #472BB7 #8D2BB7
triadic
#472BB7 #B7472B #2BB747
tetradic
#472BB7 #B72B55 #9BB72B #2BB78D
square
#472BB7 #B72B55 #9BB72B #2BB78D
split-complementary
#472BB7 #B78D2B #55B72B
monochromatic
#211454 #341F85 #472BB7 #664BD5 #907CE0

Accessibility & contrast

On white

9.14
#472BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#472BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BB7
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BB7#FFFFFF#000000##FFFFFF
##472BB71.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472bb7;
/* rgb */ color: rgb(71, 43, 183);
/* oklch */ color: oklch(42.4% 0.204 282.5);
Tailwind
colors: {
  custom: {
    50: '#8868ce',
    500: '#472bb7',
    950: '#000000',
  },
}
SCSS
$custom: #472bb7;
$custom-light: #8868ce;
$custom-dark: #000000;
JSON
{
  "hex": "#472bb7",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 252,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.424,
    "c": 0.20402,
    "h": 282.5
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#472BB7
secondary
#B8C975
accent
#E543C5
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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