#472C79#472C79

#472C79 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.126 H 295.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#472C79
RGBrgb(71, 44, 121)
HSLhsl(261, 47%, 32%)
HSVhsv(261, 64%, 47%)
CMYKcmyk(41.3%, 63.6%, 0%, 52.5%)
CIE-LABlab(25.32, 30.95, -39.71)
CIE-LCHlch(25.32, 50.35, 307.94°)
OKLaboklab(36.95% 0.0546 -0.1131)
OKLCHoklch(36.95% 0.126 295.8)
XYZxyz(6.9495, 4.5213, 18.5920)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C79 #5E792C
analogous
#2C3779 #472C79 #6E2C79
triadic
#472C79 #79472C #2C7947
tetradic
#472C79 #792C37 #5E792C #2C796E
square
#472C79 #792C37 #5E792C #2C796E
split-complementary
#472C79 #796E2C #37792C
monochromatic
#120B1F #2D1C4C #472C79 #613CA6 #805CC4

Accessibility & contrast

On white

11.03
#472C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#472C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472C79
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C79#FFFFFF#000000##FFFFFF
##472C791.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#043B77
Tritanopia (blue-blind)
#3A3D4E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #472c79;
/* rgb */ color: rgb(71, 44, 121);
/* oklch */ color: oklch(36.9% 0.126 295.8);
Tailwind
colors: {
  custom: {
    50: '#7e66a0',
    500: '#472c79',
    950: '#000000',
  },
}
SCSS
$custom: #472c79;
$custom-light: #7e66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#472c79",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 261.039,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36947,
    "c": 0.12557,
    "h": 295.8
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#472C79
secondary
#8DAA57
accent
#D651A8
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #472C79

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

Preview Lab → · Contrast checker → · Palette generator →

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