#472AB5#472AB5

#472AB5 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.1% C 0.203 H 282.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#472AB5
RGBrgb(71, 42, 181)
HSLhsl(253, 62%, 44%)
HSVhsv(253, 77%, 71%)
CMYKcmyk(60.8%, 76.8%, 0%, 29%)
CIE-LABlab(30.23, 49.90, -68.50)
CIE-LCHlch(30.23, 84.75, 306.07°)
OKLaboklab(42.08% 0.0454 -0.1975)
OKLCHoklch(42.08% 0.203 282.9)
XYZxyz(11.7644, 6.3309, 44.3092)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AB5 #98B52A
analogous
#2A52B5 #472AB5 #8C2AB5
triadic
#472AB5 #B5472A #2AB547
tetradic
#472AB5 #B52A52 #98B52A #2AB58C
square
#472AB5 #B52A52 #98B52A #2AB58C
split-complementary
#472AB5 #B58C2A #52B52A
monochromatic
#201352 #341E83 #472AB5 #6548D4 #8F79E0

Accessibility & contrast

On white

9.27
#472AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472AB5
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AB5#FFFFFF#000000##FFFFFF
##472AB51.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472ab5;
/* rgb */ color: rgb(71, 42, 181);
/* oklch */ color: oklch(42.1% 0.203 282.9);
Tailwind
colors: {
  custom: {
    50: '#8868cc',
    500: '#472ab5',
    950: '#000000',
  },
}
SCSS
$custom: #472ab5;
$custom-light: #8868cc;
$custom-dark: #000000;
JSON
{
  "hex": "#472ab5",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 252.518,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42079,
    "c": 0.20264,
    "h": 282.9
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#472AB5
secondary
#B6C873
accent
#E542C3
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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