#472AB9#472AB9

#472AB9 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.207 H 282.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#472AB9
RGBrgb(71, 42, 185)
HSLhsl(252, 63%, 45%)
HSVhsv(252, 77%, 73%)
CMYKcmyk(61.6%, 77.3%, 0%, 27.5%)
CIE-LABlab(30.63, 51.08, -70.21)
CIE-LCHlch(30.63, 86.82, 306.03°)
OKLaboklab(42.48% 0.0443 -0.2025)
OKLCHoklch(42.48% 0.207 282.3)
XYZxyz(12.1807, 6.4974, 46.5018)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AB9 #9CB92A
analogous
#2A54B9 #472AB9 #8F2AB9
triadic
#472AB9 #B9472A #2AB947
tetradic
#472AB9 #B92A54 #9CB92A #2AB98F
square
#472AB9 #B92A54 #9CB92A #2AB98F
split-complementary
#472AB9 #B98F2A #54B92A
monochromatic
#211355 #341F87 #472AB9 #674AD6 #917CE1

Accessibility & contrast

On white

9.13
#472AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472AB9
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AB9#FFFFFF#000000##FFFFFF
##472AB91.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472ab9;
/* rgb */ color: rgb(71, 42, 185);
/* oklch */ color: oklch(42.5% 0.207 282.3);
Tailwind
colors: {
  custom: {
    50: '#8868cf',
    500: '#472ab9',
    950: '#000000',
  },
}
SCSS
$custom: #472ab9;
$custom-light: #8868cf;
$custom-dark: #000000;
JSON
{
  "hex": "#472ab9",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 252.168,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.20728,
    "h": 282.3
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#472AB9
secondary
#B8CA75
accent
#E642C5
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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