#472FA2#472FA2

#472FA2 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.175 H 285.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#472FA2
RGBrgb(71, 47, 162)
HSLhsl(253, 55%, 41%)
HSVhsv(253, 71%, 64%)
CMYKcmyk(56.2%, 71%, 0%, 36.5%)
CIE-LABlab(29.36, 41.56, -58.52)
CIE-LCHlch(29.36, 71.78, 305.38°)
OKLaboklab(40.92% 0.046 -0.1683)
OKLCHoklch(40.92% 0.175 285.3)
XYZxyz(10.1347, 5.9807, 34.7958)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FA2 #8AA22F
analogous
#2F50A2 #472FA2 #802FA2
triadic
#472FA2 #A2472F #2FA247
tetradic
#472FA2 #A22F50 #8AA22F #2FA280
square
#472FA2 #A22F50 #8AA22F #2FA280
split-complementary
#472FA2 #A2802F #50A22F
monochromatic
#1D1343 #322173 #472FA2 #6145C9 #8975D7

Accessibility & contrast

On white

9.56
#472FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#472FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472FA2
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FA2#FFFFFF#000000##FFFFFF
##472FA21.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#1D4D65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472fa2;
/* rgb */ color: rgb(71, 47, 162);
/* oklch */ color: oklch(40.9% 0.175 285.3);
Tailwind
colors: {
  custom: {
    50: '#846abf',
    500: '#472fa2',
    950: '#000000',
  },
}
SCSS
$custom: #472fa2;
$custom-light: #846abf;
$custom-dark: #000000;
JSON
{
  "hex": "#472fa2",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 252.522,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40917,
    "c": 0.17452,
    "h": 285.3
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#472FA2
secondary
#AEBF6E
accent
#DE49BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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