#472D9E#472D9E

#472D9E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.172 H 286.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#472D9E
RGBrgb(71, 45, 158)
HSLhsl(254, 56%, 40%)
HSVhsv(254, 72%, 62%)
CMYKcmyk(55.1%, 71.5%, 0%, 38%)
CIE-LABlab(28.60, 41.46, -57.34)
CIE-LCHlch(28.60, 70.76, 305.87°)
OKLaboklab(40.26% 0.0485 -0.1649)
OKLCHoklch(40.26% 0.172 286.4)
XYZxyz(9.7066, 5.6845, 32.9269)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472D9E #849E2D
analogous
#2D4C9E #472D9E #7F2D9E
triadic
#472D9E #9E472D #2D9E47
tetradic
#472D9E #9E2D4C #849E2D #2D9E7F
square
#472D9E #9E2D4C #849E2D #2D9E7F
split-complementary
#472D9E #9E7F2D #4C9E2D
monochromatic
#1C123F #321F6E #472D9E #5F40C9 #876FD6

Accessibility & contrast

On white

9.83
#472D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472D9E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472D9E#FFFFFF#000000##FFFFFF
##472D9E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#224B62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #472d9e;
/* rgb */ color: rgb(71, 45, 158);
/* oklch */ color: oklch(40.3% 0.172 286.4);
Tailwind
colors: {
  custom: {
    50: '#8368bc',
    500: '#472d9e',
    950: '#000000',
  },
}
SCSS
$custom: #472d9e;
$custom-light: #8368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#472d9e",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 253.805,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40263,
    "c": 0.17187,
    "h": 286.4
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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