#472DAB#472DAB

#472DAB is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.188 H 284.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#472DAB
RGBrgb(71, 45, 171)
HSLhsl(252, 58%, 42%)
HSVhsv(252, 74%, 67%)
CMYKcmyk(58.5%, 73.7%, 0%, 32.9%)
CIE-LABlab(29.80, 45.39, -63.23)
CIE-LCHlch(29.80, 77.83, 305.67°)
OKLaboklab(41.48% 0.0457 -0.1821)
OKLCHoklch(41.48% 0.188 284.1)
XYZxyz(10.8854, 6.1560, 39.1348)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472DAB #91AB2D
analogous
#2D52AB #472DAB #862DAB
triadic
#472DAB #AB472D #2DAB47
tetradic
#472DAB #AB2D52 #91AB2D #2DAB86
square
#472DAB #AB2D52 #91AB2D #2DAB86
split-complementary
#472DAB #AB862D #52AB2D
monochromatic
#1F144A #33207B #472DAB #6347CE #8C77DB

Accessibility & contrast

On white

9.41
#472DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#472DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472DAB
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472DAB#FFFFFF#000000##FFFFFF
##472DAB1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#0E5069
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472dab;
/* rgb */ color: rgb(71, 45, 171);
/* oklch */ color: oklch(41.5% 0.188 284.1);
Tailwind
colors: {
  custom: {
    50: '#8669c5',
    500: '#472dab',
    950: '#000000',
  },
}
SCSS
$custom: #472dab;
$custom-light: #8669c5;
$custom-dark: #000000;
JSON
{
  "hex": "#472dab",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 252.381,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.18778,
    "h": 284.1
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#472DAB
secondary
#B2C371
accent
#E246C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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