#472AAF#472AAF

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

Color values

HEX#472AAF
RGBrgb(71, 42, 175)
HSLhsl(253, 61%, 43%)
HSVhsv(253, 76%, 69%)
CMYKcmyk(59.4%, 76%, 0%, 31.4%)
CIE-LABlab(29.64, 48.14, -65.90)
CIE-LCHlch(29.64, 81.61, 306.15°)
OKLaboklab(41.48% 0.0469 -0.1899)
OKLCHoklch(41.48% 0.196 283.9)
XYZxyz(11.1620, 6.0899, 41.1364)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AAF #92AF2A
analogous
#2A4FAF #472AAF #8A2AAF
triadic
#472AAF #AF472A #2AAF47
tetradic
#472AAF #AF2A4F #92AF2A #2AAF8A
square
#472AAF #AF2A4F #92AF2A #2AAF8A
split-complementary
#472AAF #AF8A2A #4FAF2A
monochromatic
#1F124C #331E7E #472AAF #6344D2 #8C75DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##472AAF#FFFFFF#000000##FFFFFF
##472AAF1.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)
#004AB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#02506B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472aaf;
/* rgb */ color: rgb(71, 42, 175);
/* oklch */ color: oklch(41.5% 0.196 283.9);
Tailwind
colors: {
  custom: {
    50: '#8767c8',
    500: '#472aaf',
    950: '#000000',
  },
}
SCSS
$custom: #472aaf;
$custom-light: #8767c8;
$custom-dark: #000000;
JSON
{
  "hex": "#472aaf",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 253.083,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41483,
    "c": 0.19562,
    "h": 283.9
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#472AAF
secondary
#B3C66F
accent
#E443C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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