#472BA4#472BA4

#472BA4 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.181 H 285.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#472BA4
RGBrgb(71, 43, 164)
HSLhsl(254, 58%, 41%)
HSVhsv(254, 74%, 64%)
CMYKcmyk(56.7%, 73.8%, 0%, 35.7%)
CIE-LABlab(28.77, 44.35, -60.72)
CIE-LCHlch(28.77, 75.19, 306.15°)
OKLaboklab(40.55% 0.0489 -0.1747)
OKLCHoklch(40.55% 0.181 285.6)
XYZxyz(10.1612, 5.7471, 35.6886)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BA4 #88A42B
analogous
#2B4CA4 #472BA4 #832BA4
triadic
#472BA4 #A4472B #2BA447
tetradic
#472BA4 #A42B4C #88A42B #2BA483
square
#472BA4 #A42B4C #88A42B #2BA483
split-complementary
#472BA4 #A4832B #4CA42B
monochromatic
#1D1243 #321E74 #472BA4 #603FCD #8870D9

Accessibility & contrast

On white

9.77
#472BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#472BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BA4
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BA4#FFFFFF#000000##FFFFFF
##472BA41.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#1B4C65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #472ba4;
/* rgb */ color: rgb(71, 43, 164);
/* oklch */ color: oklch(40.5% 0.181 285.6);
Tailwind
colors: {
  custom: {
    50: '#8567c0',
    500: '#472ba4',
    950: '#000000',
  },
}
SCSS
$custom: #472ba4;
$custom-light: #8567c0;
$custom-dark: #000000;
JSON
{
  "hex": "#472ba4",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 253.884,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40548,
    "c": 0.18147,
    "h": 285.6
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#472BA4
secondary
#ADC16A
accent
#E246BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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