#472BB1#472BB1

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

Color values

HEX#472BB1
RGBrgb(71, 43, 177)
HSLhsl(253, 61%, 43%)
HSVhsv(253, 76%, 69%)
CMYKcmyk(59.9%, 75.7%, 0%, 30.6%)
CIE-LABlab(30.01, 48.22, -66.48)
CIE-LCHlch(30.01, 82.12, 305.96°)
OKLaboklab(41.81% 0.0457 -0.1916)
OKLCHoklch(41.81% 0.197 283.4)
XYZxyz(11.3958, 6.2409, 42.1906)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BB1 #95B12B
analogous
#2B52B1 #472BB1 #8A2BB1
triadic
#472BB1 #B1472B #2BB147
tetradic
#472BB1 #B12B52 #95B12B #2BB18A
square
#472BB1 #B12B52 #95B12B #2BB18A
split-complementary
#472BB1 #B18A2B #52B12B
monochromatic
#1F134F #331F80 #472BB1 #6447D2 #8D78DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##472BB1#FFFFFF#000000##FFFFFF
##472BB11.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)
#004BB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #472bb1;
/* rgb */ color: rgb(71, 43, 177);
/* oklch */ color: oklch(41.8% 0.197 283.4);
Tailwind
colors: {
  custom: {
    50: '#8768ca',
    500: '#472bb1',
    950: '#000000',
  },
}
SCSS
$custom: #472bb1;
$custom-light: #8768ca;
$custom-dark: #000000;
JSON
{
  "hex": "#472bb1",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 252.537,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.19698,
    "h": 283.4
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#472BB1
secondary
#B4C672
accent
#E444C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #472BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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