#472CAB#472CAB

#472CAB is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.189 H 284.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#472CAB
RGBrgb(71, 44, 171)
HSLhsl(253, 59%, 42%)
HSVhsv(253, 74%, 67%)
CMYKcmyk(58.5%, 74.3%, 0%, 32.9%)
CIE-LABlab(29.61, 45.92, -63.54)
CIE-LCHlch(29.61, 78.39, 305.85°)
OKLaboklab(41.35% 0.0465 -0.183)
OKLCHoklch(41.35% 0.189 284.3)
XYZxyz(10.8477, 6.0806, 39.1222)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CAB #90AB2C
analogous
#2C50AB #472CAB #872CAB
triadic
#472CAB #AB472C #2CAB47
tetradic
#472CAB #AB2C50 #90AB2C #2CAB87
square
#472CAB #AB2C50 #90AB2C #2CAB87
split-complementary
#472CAB #AB872C #50AB2C
monochromatic
#1F134A #331F7A #472CAB #6245CF #8B76DC

Accessibility & contrast

On white

9.48
#472CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472CAB
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CAB#FFFFFF#000000##FFFFFF
##472CAB1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#0E4F69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #472cab;
/* rgb */ color: rgb(71, 44, 171);
/* oklch */ color: oklch(41.3% 0.189 284.3);
Tailwind
colors: {
  custom: {
    50: '#8668c5',
    500: '#472cab',
    950: '#000000',
  },
}
SCSS
$custom: #472cab;
$custom-light: #8668c5;
$custom-dark: #000000;
JSON
{
  "hex": "#472cab",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 252.756,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.18883,
    "h": 284.3
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#472CAB
secondary
#B2C36F
accent
#E246C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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