#472CB8#472CB8

#472CB8 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.6% C 0.204 H 282.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#472CB8
RGBrgb(71, 44, 184)
HSLhsl(252, 61%, 45%)
HSVhsv(252, 76%, 72%)
CMYKcmyk(61.4%, 76.1%, 0%, 27.8%)
CIE-LABlab(30.88, 49.79, -69.21)
CIE-LCHlch(30.88, 85.26, 305.73°)
OKLaboklab(42.62% 0.0433 -0.1996)
OKLCHoklch(42.62% 0.204 282.2)
XYZxyz(12.1482, 6.6008, 45.9720)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CB8 #9DB82C
analogous
#2C57B8 #472CB8 #8D2CB8
triadic
#472CB8 #B8472C #2CB847
tetradic
#472CB8 #B82C57 #9DB82C #2CB88D
square
#472CB8 #B82C57 #9DB82C #2CB88D
split-complementary
#472CB8 #B88D2C #57B82C
monochromatic
#211455 #342087 #472CB8 #674DD4 #917EE0

Accessibility & contrast

On white

9.05
#472CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#472CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CB8
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CB8#FFFFFF#000000##FFFFFF
##472CB81.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #472cb8;
/* rgb */ color: rgb(71, 44, 184);
/* oklch */ color: oklch(42.6% 0.204 282.2);
Tailwind
colors: {
  custom: {
    50: '#8869cf',
    500: '#472cb8',
    950: '#000000',
  },
}
SCSS
$custom: #472cb8;
$custom-light: #8869cf;
$custom-dark: #000000;
JSON
{
  "hex": "#472cb8",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 251.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.20423,
    "h": 282.2
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#472CB8
secondary
#B9C977
accent
#E543C5
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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