#472C81#472C81

#472C81 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.136 H 293.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#472C81
RGBrgb(71, 44, 129)
HSLhsl(259, 49%, 34%)
HSVhsv(259, 66%, 51%)
CMYKcmyk(45%, 65.9%, 0%, 49.4%)
CIE-LABlab(25.94, 33.31, -43.76)
CIE-LCHlch(25.94, 55.00, 307.28°)
OKLaboklab(37.59% 0.054 -0.125)
OKLCHoklch(37.59% 0.136 293.4)
XYZxyz(7.4606, 4.7257, 21.2837)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C81 #66812C
analogous
#2C3C81 #472C81 #722C81
triadic
#472C81 #81472C #2C8147
tetradic
#472C81 #812C3C #66812C #2C8172
square
#472C81 #812C3C #66812C #2C8172
split-complementary
#472C81 #81722C #3C812C
monochromatic
#150D26 #2E1C53 #472C81 #603CAF #805FC8

Accessibility & contrast

On white

10.80
#472C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#472C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472C81
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C81#FFFFFF#000000##FFFFFF
##472C811.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#374052
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #472c81;
/* rgb */ color: rgb(71, 44, 129);
/* oklch */ color: oklch(37.6% 0.136 293.4);
Tailwind
colors: {
  custom: {
    50: '#7f67a6',
    500: '#472c81',
    950: '#000000',
  },
}
SCSS
$custom: #472c81;
$custom-light: #7f67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#472c81",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 259.059,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.13616,
    "h": 293.4
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#472C81
secondary
#94AF5A
accent
#D94FAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #472C81

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

Preview Lab → · Contrast checker → · Palette generator →

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