#472AB2#472AB2

#472AB2 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.199 H 283.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#472AB2
RGBrgb(71, 42, 178)
HSLhsl(253, 62%, 43%)
HSVhsv(253, 76%, 70%)
CMYKcmyk(60.1%, 76.4%, 0%, 30.2%)
CIE-LABlab(29.93, 49.02, -67.20)
CIE-LCHlch(29.93, 83.18, 306.11°)
OKLaboklab(41.78% 0.0461 -0.1937)
OKLCHoklch(41.78% 0.199 283.4)
XYZxyz(11.4599, 6.2091, 42.7054)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AB2 #95B22A
analogous
#2A51B2 #472AB2 #8B2AB2
triadic
#472AB2 #B2472A #2AB247
tetradic
#472AB2 #B22A51 #95B22A #2AB28B
square
#472AB2 #B22A51 #95B22A #2AB28B
split-complementary
#472AB2 #B28B2A #51B22A
monochromatic
#1F134F #331E80 #472AB2 #6446D3 #8D77DF

Accessibility & contrast

On white

9.37
#472AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#472AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AB2
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AB2#FFFFFF#000000##FFFFFF
##472AB21.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472ab2;
/* rgb */ color: rgb(71, 42, 178);
/* oklch */ color: oklch(41.8% 0.199 283.4);
Tailwind
colors: {
  custom: {
    50: '#8767ca',
    500: '#472ab2',
    950: '#000000',
  },
}
SCSS
$custom: #472ab2;
$custom-light: #8767ca;
$custom-dark: #000000;
JSON
{
  "hex": "#472ab2",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 252.794,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4178,
    "c": 0.19914,
    "h": 283.4
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#472AB2
secondary
#B4C771
accent
#E543C2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #472AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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