#472BAD#472BAD

#472BAD is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.192 H 284.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#472BAD
RGBrgb(71, 43, 173)
HSLhsl(253, 60%, 42%)
HSVhsv(253, 75%, 68%)
CMYKcmyk(59%, 75.1%, 0%, 32.2%)
CIE-LABlab(29.62, 47.03, -64.72)
CIE-LCHlch(29.62, 80.01, 306.00°)
OKLaboklab(41.41% 0.0468 -0.1865)
OKLCHoklch(41.41% 0.192 284.1)
XYZxyz(11.0029, 6.0838, 40.1216)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BAD #91AD2B
analogous
#2B50AD #472BAD #882BAD
triadic
#472BAD #AD472B #2BAD47
tetradic
#472BAD #AD2B50 #91AD2B #2BAD88
square
#472BAD #AD2B50 #91AD2B #2BAD88
split-complementary
#472BAD #AD882B #50AD2B
monochromatic
#1F134B #331F7C #472BAD #6345D1 #8C76DD

Accessibility & contrast

On white

9.47
#472BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#472BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BAD
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BAD#FFFFFF#000000##FFFFFF
##472BAD1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#08506A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472bad;
/* rgb */ color: rgb(71, 43, 173);
/* oklch */ color: oklch(41.4% 0.192 284.1);
Tailwind
colors: {
  custom: {
    50: '#8668c7',
    500: '#472bad',
    950: '#000000',
  },
}
SCSS
$custom: #472bad;
$custom-light: #8668c7;
$custom-dark: #000000;
JSON
{
  "hex": "#472bad",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 252.923,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41413,
    "c": 0.19225,
    "h": 284.1
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#472BAD
secondary
#B2C46F
accent
#E344C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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