#472BB5#472BB5

#472BB5 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.2% C 0.202 H 282.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#472BB5
RGBrgb(71, 43, 181)
HSLhsl(252, 62%, 44%)
HSVhsv(252, 76%, 71%)
CMYKcmyk(60.8%, 76.2%, 0%, 29%)
CIE-LABlab(30.41, 49.41, -68.21)
CIE-LCHlch(30.41, 84.22, 305.92°)
OKLaboklab(42.2% 0.0447 -0.1967)
OKLCHoklch(42.2% 0.202 282.8)
XYZxyz(11.8003, 6.4027, 44.3211)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BB5 #99B52B
analogous
#2B54B5 #472BB5 #8C2BB5
triadic
#472BB5 #B5472B #2BB547
tetradic
#472BB5 #B52B54 #99B52B #2BB58C
square
#472BB5 #B52B54 #99B52B #2BB58C
split-complementary
#472BB5 #B58C2B #54B52B
monochromatic
#201452 #341F84 #472BB5 #6549D4 #8F7BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##472BB5#FFFFFF#000000##FFFFFF
##472BB51.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)
#004CB9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472bb5;
/* rgb */ color: rgb(71, 43, 181);
/* oklch */ color: oklch(42.2% 0.202 282.8);
Tailwind
colors: {
  custom: {
    50: '#8868cc',
    500: '#472bb5',
    950: '#000000',
  },
}
SCSS
$custom: #472bb5;
$custom-light: #8868cc;
$custom-dark: #000000;
JSON
{
  "hex": "#472bb5",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 252.174,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.20169,
    "h": 282.8
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#472BB5
secondary
#B7C874
accent
#E543C4
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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