#472BAB#472BAB

#472BAB is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.190 H 284.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#472BAB
RGBrgb(71, 43, 171)
HSLhsl(253, 60%, 42%)
HSVhsv(253, 75%, 67%)
CMYKcmyk(58.5%, 74.9%, 0%, 32.9%)
CIE-LABlab(29.43, 46.44, -63.84)
CIE-LCHlch(29.43, 78.95, 306.03°)
OKLaboklab(41.22% 0.0472 -0.1839)
OKLCHoklch(41.22% 0.19 284.4)
XYZxyz(10.8108, 6.0069, 39.1100)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BAB #8FAB2B
analogous
#2B4FAB #472BAB #872BAB
triadic
#472BAB #AB472B #2BAB47
tetradic
#472BAB #AB2B4F #8FAB2B #2BAB87
square
#472BAB #AB2B4F #8FAB2B #2BAB87
split-complementary
#472BAB #AB872B #4FAB2B
monochromatic
#1E1249 #331F7A #472BAB #6243D0 #8B74DC

Accessibility & contrast

On white

9.54
#472BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#472BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BAB
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BAB#FFFFFF#000000##FFFFFF
##472BAB1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472bab;
/* rgb */ color: rgb(71, 43, 171);
/* oklch */ color: oklch(41.2% 0.190 284.4);
Tailwind
colors: {
  custom: {
    50: '#8668c5',
    500: '#472bab',
    950: '#000000',
  },
}
SCSS
$custom: #472bab;
$custom-light: #8668c5;
$custom-dark: #000000;
JSON
{
  "hex": "#472bab",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 253.125,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41219,
    "c": 0.18987,
    "h": 284.4
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#472BAB
secondary
#B1C46E
accent
#E345C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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