#472CAC#472CAC

#472CAC is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.190 H 284.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#472CAC
RGBrgb(71, 44, 172)
HSLhsl(253, 59%, 42%)
HSVhsv(253, 74%, 67%)
CMYKcmyk(58.7%, 74.4%, 0%, 32.5%)
CIE-LABlab(29.71, 46.22, -63.98)
CIE-LCHlch(29.71, 78.93, 305.84°)
OKLaboklab(41.45% 0.0463 -0.1843)
OKLCHoklch(41.45% 0.19 284.1)
XYZxyz(10.9433, 6.1188, 39.6261)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CAC #91AC2C
analogous
#2C51AC #472CAC #872CAC
triadic
#472CAC #AC472C #2CAC47
tetradic
#472CAC #AC2C51 #91AC2C #2CAC87
square
#472CAC #AC2C51 #91AC2C #2CAC87
split-complementary
#472CAC #AC872C #51AC2C
monochromatic
#1F134B #33207B #472CAC #6346D0 #8C76DC

Accessibility & contrast

On white

9.44
#472CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#472CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CAC
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CAC#FFFFFF#000000##FFFFFF
##472CAC1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#0B506A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472cac;
/* rgb */ color: rgb(71, 44, 172);
/* oklch */ color: oklch(41.4% 0.190 284.1);
Tailwind
colors: {
  custom: {
    50: '#8668c6',
    500: '#472cac',
    950: '#000000',
  },
}
SCSS
$custom: #472cac;
$custom-light: #8668c6;
$custom-dark: #000000;
JSON
{
  "hex": "#472cac",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 252.656,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.19004,
    "h": 284.1
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#472CAC
secondary
#B2C470
accent
#E245C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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