#472BAA#472BAA

#472BAA is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.189 H 284.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#472BAA
RGBrgb(71, 43, 170)
HSLhsl(253, 60%, 42%)
HSVhsv(253, 75%, 67%)
CMYKcmyk(58.2%, 74.7%, 0%, 33.3%)
CIE-LABlab(29.33, 46.14, -63.40)
CIE-LCHlch(29.33, 78.41, 306.05°)
OKLaboklab(41.12% 0.0475 -0.1826)
OKLCHoklch(41.12% 0.189 284.6)
XYZxyz(10.7159, 5.9690, 38.6099)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BAA #8EAA2B
analogous
#2B4FAA #472BAA #872BAA
triadic
#472BAA #AA472B #2BAA47
tetradic
#472BAA #AA2B4F #8EAA2B #2BAA87
square
#472BAA #AA2B4F #8EAA2B #2BAA87
split-complementary
#472BAA #AA872B #4FAA2B
monochromatic
#1E1248 #331F79 #472BAA #6243CF #8B74DC

Accessibility & contrast

On white

9.57
#472BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#472BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BAA
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BAA#FFFFFF#000000##FFFFFF
##472BAA1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#114E68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472baa;
/* rgb */ color: rgb(71, 43, 170);
/* oklch */ color: oklch(41.1% 0.189 284.6);
Tailwind
colors: {
  custom: {
    50: '#8668c4',
    500: '#472baa',
    950: '#000000',
  },
}
SCSS
$custom: #472baa;
$custom-light: #8668c4;
$custom-dark: #000000;
JSON
{
  "hex": "#472baa",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 253.228,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.18867,
    "h": 284.6
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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