#472FA1#472FA1

#472FA1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.173 H 285.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#472FA1
RGBrgb(71, 47, 161)
HSLhsl(253, 55%, 41%)
HSVhsv(253, 71%, 63%)
CMYKcmyk(55.9%, 70.8%, 0%, 36.9%)
CIE-LABlab(29.27, 41.26, -58.06)
CIE-LCHlch(29.27, 71.23, 305.40°)
OKLaboklab(40.83% 0.0462 -0.167)
OKLCHoklch(40.83% 0.173 285.5)
XYZxyz(10.0461, 5.9453, 34.3295)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472FA1 #89A12F
analogous
#2F50A1 #472FA1 #802FA1
triadic
#472FA1 #A1472F #2FA147
tetradic
#472FA1 #A12F50 #89A12F #2FA180
square
#472FA1 #A12F50 #89A12F #2FA180
split-complementary
#472FA1 #A1802F #50A12F
monochromatic
#1D1342 #322172 #472FA1 #6045C9 #8974D6

Accessibility & contrast

On white

9.59
#472FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472FA1
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472FA1#FFFFFF#000000##FFFFFF
##472FA11.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#1E4D64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472fa1;
/* rgb */ color: rgb(71, 47, 161);
/* oklch */ color: oklch(40.8% 0.173 285.5);
Tailwind
colors: {
  custom: {
    50: '#846abe',
    500: '#472fa1',
    950: '#000000',
  },
}
SCSS
$custom: #472fa1;
$custom-light: #846abe;
$custom-dark: #000000;
JSON
{
  "hex": "#472fa1",
  "rgb": {
    "r": 71,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 252.632,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40825,
    "c": 0.17327,
    "h": 285.5
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#472FA1
secondary
#ADBE6E
accent
#DE4ABF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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