#472BB4#472BB4

#472BB4 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.1% C 0.201 H 283.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#472BB4
RGBrgb(71, 43, 180)
HSLhsl(252, 61%, 44%)
HSVhsv(252, 76%, 71%)
CMYKcmyk(60.6%, 76.1%, 0%, 29.4%)
CIE-LABlab(30.31, 49.11, -67.78)
CIE-LCHlch(30.31, 83.70, 305.93°)
OKLaboklab(42.1% 0.045 -0.1954)
OKLCHoklch(42.1% 0.201 283)
XYZxyz(11.6981, 6.3618, 43.7827)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BB4 #98B42B
analogous
#2B53B4 #472BB4 #8B2BB4
triadic
#472BB4 #B4472B #2BB447
tetradic
#472BB4 #B42B53 #98B42B #2BB48B
square
#472BB4 #B42B53 #98B42B #2BB48B
split-complementary
#472BB4 #B48B2B #53B42B
monochromatic
#201351 #341F83 #472BB4 #6549D3 #8F7ADF

Accessibility & contrast

On white

9.24
#472BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#472BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BB4
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BB4#FFFFFF#000000##FFFFFF
##472BB41.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472bb4;
/* rgb */ color: rgb(71, 43, 180);
/* oklch */ color: oklch(42.1% 0.201 283.0);
Tailwind
colors: {
  custom: {
    50: '#8768cc',
    500: '#472bb4',
    950: '#000000',
  },
}
SCSS
$custom: #472bb4;
$custom-light: #8768cc;
$custom-dark: #000000;
JSON
{
  "hex": "#472bb4",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 252.263,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.20052,
    "h": 283
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#472BB4
secondary
#B6C773
accent
#E543C4
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #472BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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