#472CAF#472CAF

#472CAF is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.194 H 283.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#472CAF
RGBrgb(71, 44, 175)
HSLhsl(252, 60%, 43%)
HSVhsv(252, 75%, 69%)
CMYKcmyk(59.4%, 74.9%, 0%, 31.4%)
CIE-LABlab(30.00, 47.11, -65.30)
CIE-LCHlch(30.00, 80.52, 305.81°)
OKLaboklab(41.74% 0.0455 -0.1882)
OKLCHoklch(41.74% 0.194 283.6)
XYZxyz(11.2347, 6.2354, 41.1607)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CAF #94AF2C
analogous
#2C53AF #472CAF #882CAF
triadic
#472CAF #AF472C #2CAF47
tetradic
#472CAF #AF2C53 #94AF2C #2CAF88
square
#472CAF #AF2C53 #94AF2C #2CAF88
split-complementary
#472CAF #AF882C #53AF2C
monochromatic
#1F134D #33207E #472CAF #6447D1 #8D78DD

Accessibility & contrast

On white

9.34
#472CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#472CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CAF
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CAF#FFFFFF#000000##FFFFFF
##472CAF1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#02516B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #472caf;
/* rgb */ color: rgb(71, 44, 175);
/* oklch */ color: oklch(41.7% 0.194 283.6);
Tailwind
colors: {
  custom: {
    50: '#8668c8',
    500: '#472caf',
    950: '#000000',
  },
}
SCSS
$custom: #472caf;
$custom-light: #8668c8;
$custom-dark: #000000;
JSON
{
  "hex": "#472caf",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 252.366,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41737,
    "c": 0.19361,
    "h": 283.6
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#472CAF
secondary
#B4C572
accent
#E345C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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