#472CA5#472CA5

#472CA5 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.182 H 285.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#472CA5
RGBrgb(71, 44, 165)
HSLhsl(253, 58%, 41%)
HSVhsv(253, 73%, 65%)
CMYKcmyk(57%, 73.3%, 0%, 35.3%)
CIE-LABlab(29.05, 44.12, -60.85)
CIE-LCHlch(29.05, 75.16, 305.94°)
OKLaboklab(40.78% 0.0479 -0.1752)
OKLCHoklch(40.78% 0.182 285.3)
XYZxyz(10.2887, 5.8570, 36.1784)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CA5 #8AA52C
analogous
#2C4EA5 #472CA5 #832CA5
triadic
#472CA5 #A5472C #2CA547
tetradic
#472CA5 #A52C4E #8AA52C #2CA583
square
#472CA5 #A52C4E #8AA52C #2CA583
split-complementary
#472CA5 #A5832C #4EA52C
monochromatic
#1D1244 #321F75 #472CA5 #6142CD #8972D9

Accessibility & contrast

On white

9.67
#472CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#472CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CA5
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CA5#FFFFFF#000000##FFFFFF
##472CA51.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#194D66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #472ca5;
/* rgb */ color: rgb(71, 44, 165);
/* oklch */ color: oklch(40.8% 0.182 285.3);
Tailwind
colors: {
  custom: {
    50: '#8568c1',
    500: '#472ca5',
    950: '#000000',
  },
}
SCSS
$custom: #472ca5;
$custom-light: #8568c1;
$custom-dark: #000000;
JSON
{
  "hex": "#472ca5",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 253.388,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40777,
    "c": 0.18159,
    "h": 285.3
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#472CA5
secondary
#AEC16C
accent
#E147BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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