#472AA2#472AA2

#472AA2 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.180 H 286.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#472AA2
RGBrgb(71, 42, 162)
HSLhsl(255, 59%, 40%)
HSVhsv(255, 74%, 64%)
CMYKcmyk(56.2%, 74.1%, 0%, 36.5%)
CIE-LABlab(28.39, 44.28, -60.12)
CIE-LCHlch(28.39, 74.67, 306.37°)
OKLaboklab(40.23% 0.0502 -0.173)
OKLCHoklch(40.23% 0.18 286.2)
XYZxyz(9.9461, 5.6036, 34.7329)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472AA2 #85A22A
analogous
#2A49A2 #472AA2 #832AA2
triadic
#472AA2 #A2472A #2AA247
tetradic
#472AA2 #A22A49 #85A22A #2AA283
square
#472AA2 #A22A49 #85A22A #2AA283
split-complementary
#472AA2 #A2832A #49A22A
monochromatic
#1C1141 #321D71 #472AA2 #5F3DCD #876DD9

Accessibility & contrast

On white

9.90
#472AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#472AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472AA2
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472AA2#FFFFFF#000000##FFFFFF
##472AA21.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#1E4B64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #472aa2;
/* rgb */ color: rgb(71, 42, 162);
/* oklch */ color: oklch(40.2% 0.180 286.2);
Tailwind
colors: {
  custom: {
    50: '#8467bf',
    500: '#472aa2',
    950: '#000000',
  },
}
SCSS
$custom: #472aa2;
$custom-light: #8467bf;
$custom-dark: #000000;
JSON
{
  "hex": "#472aa2",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 254.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.18013,
    "h": 286.2
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#472AA2
secondary
#ABC068
accent
#E246BC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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