#472EA1#472EA1

#472EA1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.174 H 285.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#472EA1
RGBrgb(71, 46, 161)
HSLhsl(253, 56%, 41%)
HSVhsv(253, 71%, 63%)
CMYKcmyk(55.9%, 71.4%, 0%, 36.9%)
CIE-LABlab(29.07, 41.82, -58.39)
CIE-LCHlch(29.07, 71.82, 305.61°)
OKLaboklab(40.68% 0.0471 -0.168)
OKLCHoklch(40.68% 0.174 285.7)
XYZxyz(10.0066, 5.8662, 34.3163)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EA1 #88A12E
analogous
#2E4FA1 #472EA1 #802EA1
triadic
#472EA1 #A1472E #2EA147
tetradic
#472EA1 #A12E4F #88A12E #2EA180
square
#472EA1 #A12E4F #88A12E #2EA180
split-complementary
#472EA1 #A1802E #4FA12E
monochromatic
#1D1342 #322071 #472EA1 #6043C9 #8873D7

Accessibility & contrast

On white

9.66
#472EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#472EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EA1
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EA1#FFFFFF#000000##FFFFFF
##472EA11.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472ea1;
/* rgb */ color: rgb(71, 46, 161);
/* oklch */ color: oklch(40.7% 0.174 285.7);
Tailwind
colors: {
  custom: {
    50: '#8469be',
    500: '#472ea1',
    950: '#000000',
  },
}
SCSS
$custom: #472ea1;
$custom-light: #8469be;
$custom-dark: #000000;
JSON
{
  "hex": "#472ea1",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 253.043,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.17444,
    "h": 285.7
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#472EA1
secondary
#ADBE6C
accent
#DF49BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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