#472BA2#472BA2

#472BA2 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.179 H 286.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#472BA2
RGBrgb(71, 43, 162)
HSLhsl(254, 58%, 40%)
HSVhsv(254, 73%, 64%)
CMYKcmyk(56.2%, 73.5%, 0%, 36.5%)
CIE-LABlab(28.58, 43.75, -59.81)
CIE-LCHlch(28.58, 74.11, 306.19°)
OKLaboklab(40.36% 0.0494 -0.1721)
OKLCHoklch(40.36% 0.179 286)
XYZxyz(9.9820, 5.6754, 34.7449)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BA2 #86A22B
analogous
#2B4AA2 #472BA2 #832BA2
triadic
#472BA2 #A2472B #2BA247
tetradic
#472BA2 #A22B4A #86A22B #2BA283
square
#472BA2 #A22B4A #86A22B #2BA283
split-complementary
#472BA2 #A2832B #4AA22B
monochromatic
#1D1141 #321E72 #472BA2 #603ECC #886FD9

Accessibility & contrast

On white

9.84
#472BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#472BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BA2
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BA2#FFFFFF#000000##FFFFFF
##472BA21.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472ba2;
/* rgb */ color: rgb(71, 43, 162);
/* oklch */ color: oklch(40.4% 0.179 286.0);
Tailwind
colors: {
  custom: {
    50: '#8467bf',
    500: '#472ba2',
    950: '#000000',
  },
}
SCSS
$custom: #472ba2;
$custom-light: #8467bf;
$custom-dark: #000000;
JSON
{
  "hex": "#472ba2",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 254.118,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.17904,
    "h": 286
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#472BA2
secondary
#ABC069
accent
#E147BD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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