#472CA3#472CA3

#472CA3 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.179 H 285.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#472CA3
RGBrgb(71, 44, 163)
HSLhsl(254, 57%, 41%)
HSVhsv(254, 73%, 64%)
CMYKcmyk(56.4%, 73%, 0%, 36.1%)
CIE-LABlab(28.86, 43.52, -59.95)
CIE-LCHlch(28.86, 74.08, 305.98°)
OKLaboklab(40.59% 0.0483 -0.1725)
OKLCHoklch(40.59% 0.179 285.6)
XYZxyz(10.1081, 5.7847, 35.2272)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CA3 #88A32C
analogous
#2C4DA3 #472CA3 #822CA3
triadic
#472CA3 #A3472C #2CA347
tetradic
#472CA3 #A32C4D #88A32C #2CA382
square
#472CA3 #A32C4D #88A32C #2CA382
split-complementary
#472CA3 #A3822C #4DA32C
monochromatic
#1D1243 #321F73 #472CA3 #6041CC #8871D9

Accessibility & contrast

On white

9.74
#472CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472CA3
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CA3#FFFFFF#000000##FFFFFF
##472CA31.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#1C4C65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #472ca3;
/* rgb */ color: rgb(71, 44, 163);
/* oklch */ color: oklch(40.6% 0.179 285.6);
Tailwind
colors: {
  custom: {
    50: '#8468bf',
    500: '#472ca3',
    950: '#000000',
  },
}
SCSS
$custom: #472ca3;
$custom-light: #8468bf;
$custom-dark: #000000;
JSON
{
  "hex": "#472ca3",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 253.613,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40588,
    "c": 0.17916,
    "h": 285.6
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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