#472E9C#472E9C

#472E9C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.168 H 286.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#472E9C
RGBrgb(71, 46, 156)
HSLhsl(254, 54%, 40%)
HSVhsv(254, 71%, 61%)
CMYKcmyk(54.5%, 70.5%, 0%, 38.8%)
CIE-LABlab(28.63, 40.30, -56.09)
CIE-LCHlch(28.63, 69.06, 305.69°)
OKLaboklab(40.23% 0.048 -0.1612)
OKLCHoklch(40.23% 0.168 286.6)
XYZxyz(9.5745, 5.6934, 32.0405)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472E9C #839C2E
analogous
#2E4C9C #472E9C #7E2E9C
triadic
#472E9C #9C472E #2E9C47
tetradic
#472E9C #9C2E4C #839C2E #2E9C7E
square
#472E9C #9C2E4C #839C2E #2E9C7E
split-complementary
#472E9C #9C7E2E #4C9C2E
monochromatic
#1C123D #31206D #472E9C #5F40C7 #8770D5

Accessibility & contrast

On white

9.82
#472E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472E9C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472E9C#FFFFFF#000000##FFFFFF
##472E9C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472e9c;
/* rgb */ color: rgb(71, 46, 156);
/* oklch */ color: oklch(40.2% 0.168 286.6);
Tailwind
colors: {
  custom: {
    50: '#8369ba',
    500: '#472e9c',
    950: '#000000',
  },
}
SCSS
$custom: #472e9c;
$custom-light: #8369ba;
$custom-dark: #000000;
JSON
{
  "hex": "#472e9c",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 253.636,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.1682,
    "h": 286.6
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#472E9C
secondary
#A9BC6A
accent
#DE4ABC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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