#472AAB#472AAB

#472AAB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.191 H 284.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#472AAB
RGBrgb(71, 42, 171)
HSLhsl(253, 61%, 42%)
HSVhsv(253, 75%, 67%)
CMYKcmyk(58.5%, 75.4%, 0%, 32.9%)
CIE-LABlab(29.25, 46.95, -64.14)
CIE-LCHlch(29.25, 79.49, 306.21°)
OKLaboklab(41.09% 0.048 -0.1848)
OKLCHoklch(41.09% 0.191 284.6)
XYZxyz(10.7749, 5.9351, 39.0980)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AAB #8EAB2A
analogous
#2A4EAB #472AAB #872AAB
triadic
#472AAB #AB472A #2AAB47
tetradic
#472AAB #AB2A4E #8EAB2A #2AAB87
square
#472AAB #AB2A4E #8EAB2A #2AAB87
split-complementary
#472AAB #AB872A #4EAB2A
monochromatic
#1E1249 #331E7A #472AAB #6242D1 #8B73DD

Accessibility & contrast

On white

9.60
#472AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#472AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AAB
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AAB#FFFFFF#000000##FFFFFF
##472AAB1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#0E4E69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472aab;
/* rgb */ color: rgb(71, 42, 171);
/* oklch */ color: oklch(41.1% 0.191 284.6);
Tailwind
colors: {
  custom: {
    50: '#8667c5',
    500: '#472aab',
    950: '#000000',
  },
}
SCSS
$custom: #472aab;
$custom-light: #8667c5;
$custom-dark: #000000;
JSON
{
  "hex": "#472aab",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 253.488,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41091,
    "c": 0.1909,
    "h": 284.6
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#472AAB
secondary
#B0C46D
accent
#E444C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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