#472CA4#472CA4

#472CA4 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.180 H 285.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#472CA4
RGBrgb(71, 44, 164)
HSLhsl(254, 58%, 41%)
HSVhsv(254, 73%, 64%)
CMYKcmyk(56.7%, 73.2%, 0%, 35.7%)
CIE-LABlab(28.96, 43.82, -60.40)
CIE-LCHlch(28.96, 74.62, 305.96°)
OKLaboklab(40.68% 0.0481 -0.1738)
OKLCHoklch(40.68% 0.18 285.5)
XYZxyz(10.1980, 5.8207, 35.7009)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CA4 #89A42C
analogous
#2C4DA4 #472CA4 #832CA4
triadic
#472CA4 #A4472C #2CA447
tetradic
#472CA4 #A42C4D #89A42C #2CA483
square
#472CA4 #A42C4D #89A42C #2CA483
split-complementary
#472CA4 #A4832C #4DA42C
monochromatic
#1D1243 #321F74 #472CA4 #6041CC #8971D9

Accessibility & contrast

On white

9.70
#472CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#472CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CA4
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CA4#FFFFFF#000000##FFFFFF
##472CA41.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472ca4;
/* rgb */ color: rgb(71, 44, 164);
/* oklch */ color: oklch(40.7% 0.180 285.5);
Tailwind
colors: {
  custom: {
    50: '#8568c0',
    500: '#472ca4',
    950: '#000000',
  },
}
SCSS
$custom: #472ca4;
$custom-light: #8568c0;
$custom-dark: #000000;
JSON
{
  "hex": "#472ca4",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 253.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.18037,
    "h": 285.5
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#472CA4
secondary
#ADC06B
accent
#E147BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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