#472D9C#472D9C

#472D9C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.169 H 286.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#472D9C
RGBrgb(71, 45, 156)
HSLhsl(254, 55%, 39%)
HSVhsv(254, 71%, 61%)
CMYKcmyk(54.5%, 71.2%, 0%, 38.8%)
CIE-LABlab(28.42, 40.86, -56.42)
CIE-LCHlch(28.42, 69.66, 305.91°)
OKLaboklab(40.08% 0.0489 -0.1622)
OKLCHoklch(40.08% 0.169 286.8)
XYZxyz(9.5359, 5.6162, 32.0276)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D9C #829C2D
analogous
#2D4B9C #472D9C #7F2D9C
triadic
#472D9C #9C472D #2D9C47
tetradic
#472D9C #9C2D4B #829C2D #2D9C7F
square
#472D9C #9C2D4B #829C2D #2D9C7F
split-complementary
#472D9C #9C7F2D #4B9C2D
monochromatic
#1C123D #311F6D #472D9C #5F3FC8 #866ED5

Accessibility & contrast

On white

9.89
#472D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472D9C
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D9C#FFFFFF#000000##FFFFFF
##472D9C1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#244A61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #472d9c;
/* rgb */ color: rgb(71, 45, 156);
/* oklch */ color: oklch(40.1% 0.169 286.8);
Tailwind
colors: {
  custom: {
    50: '#8368ba',
    500: '#472d9c',
    950: '#000000',
  },
}
SCSS
$custom: #472d9c;
$custom-light: #8368ba;
$custom-dark: #000000;
JSON
{
  "hex": "#472d9c",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 254.054,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4008,
    "c": 0.16939,
    "h": 286.8
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#472D9C
secondary
#A9BC68
accent
#DF49BC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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