#472BB3#472BB3

#472BB3 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.199 H 283.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#472BB3
RGBrgb(71, 43, 179)
HSLhsl(252, 61%, 44%)
HSVhsv(252, 76%, 70%)
CMYKcmyk(60.3%, 76%, 0%, 29.8%)
CIE-LABlab(30.21, 48.81, -67.35)
CIE-LCHlch(30.21, 83.18, 305.94°)
OKLaboklab(42% 0.0452 -0.1941)
OKLCHoklch(42% 0.199 283.1)
XYZxyz(11.5966, 6.3212, 43.2481)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BB3 #97B32B
analogous
#2B53B3 #472BB3 #8B2BB3
triadic
#472BB3 #B3472B #2BB347
tetradic
#472BB3 #B32B53 #97B32B #2BB38B
square
#472BB3 #B32B53 #97B32B #2BB38B
split-complementary
#472BB3 #B38B2B #53B32B
monochromatic
#201350 #331F82 #472BB3 #6548D3 #8E79DF

Accessibility & contrast

On white

9.27
#472BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#472BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472BB3
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BB3#FFFFFF#000000##FFFFFF
##472BB31.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #472bb3;
/* rgb */ color: rgb(71, 43, 179);
/* oklch */ color: oklch(42.0% 0.199 283.1);
Tailwind
colors: {
  custom: {
    50: '#8768cb',
    500: '#472bb3',
    950: '#000000',
  },
}
SCSS
$custom: #472bb3;
$custom-light: #8768cb;
$custom-dark: #000000;
JSON
{
  "hex": "#472bb3",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 252.353,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42002,
    "c": 0.19934,
    "h": 283.1
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#472BB3
secondary
#B6C773
accent
#E443C3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #472BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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