#472DA2#472DA2

#472DA2 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.177 H 285.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#472DA2
RGBrgb(71, 45, 162)
HSLhsl(253, 57%, 41%)
HSVhsv(253, 72%, 64%)
CMYKcmyk(56.2%, 72.2%, 0%, 36.5%)
CIE-LABlab(28.96, 42.67, -59.18)
CIE-LCHlch(28.96, 72.96, 305.79°)
OKLaboklab(40.63% 0.0477 -0.1703)
OKLCHoklch(40.63% 0.177 285.7)
XYZxyz(10.0565, 5.8244, 34.7697)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472DA2 #88A22D
analogous
#2D4EA2 #472DA2 #812DA2
triadic
#472DA2 #A2472D #2DA247
tetradic
#472DA2 #A22D4E #88A22D #2DA281
square
#472DA2 #A22D4E #88A22D #2DA281
split-complementary
#472DA2 #A2812D #4EA22D
monochromatic
#1D1242 #322072 #472DA2 #6042CA #8872D8

Accessibility & contrast

On white

9.70
#472DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472DA2
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472DA2#FFFFFF#000000##FFFFFF
##472DA21.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#1D4C64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #472da2;
/* rgb */ color: rgb(71, 45, 162);
/* oklch */ color: oklch(40.6% 0.177 285.7);
Tailwind
colors: {
  custom: {
    50: '#8468bf',
    500: '#472da2',
    950: '#000000',
  },
}
SCSS
$custom: #472da2;
$custom-light: #8468bf;
$custom-dark: #000000;
JSON
{
  "hex": "#472da2",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 253.333,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.17681,
    "h": 285.7
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#472DA2
secondary
#ADBF6C
accent
#E048BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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