#472DB7#472DB7

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

Color values

HEX#472DB7
RGBrgb(71, 45, 183)
HSLhsl(251, 61%, 45%)
HSVhsv(251, 75%, 72%)
CMYKcmyk(61.2%, 75.4%, 0%, 28.2%)
CIE-LABlab(30.96, 48.99, -68.49)
CIE-LCHlch(30.96, 84.20, 305.57°)
OKLaboklab(42.65% 0.0429 -0.1975)
OKLCHoklch(42.65% 0.202 282.2)
XYZxyz(12.0815, 6.6344, 45.4345)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472DB7 #9DB72D
analogous
#2D58B7 #472DB7 #8C2DB7
triadic
#472DB7 #B7472D #2DB747
tetradic
#472DB7 #B72D58 #9DB72D #2DB78C
square
#472DB7 #B72D58 #9DB72D #2DB78C
split-complementary
#472DB7 #B78C2D #58B72D
monochromatic
#211555 #342186 #472DB7 #674ED3 #917FDF

Accessibility & contrast

On white

9.02
#472DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#472DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472DB7
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472DB7#FFFFFF#000000##FFFFFF
##472DB71.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472db7;
/* rgb */ color: rgb(71, 45, 183);
/* oklch */ color: oklch(42.6% 0.202 282.2);
Tailwind
colors: {
  custom: {
    50: '#8869ce',
    500: '#472db7',
    950: '#000000',
  },
}
SCSS
$custom: #472db7;
$custom-light: #8869ce;
$custom-dark: #000000;
JSON
{
  "hex": "#472db7",
  "rgb": {
    "r": 71,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 251.304,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42649,
    "c": 0.2021,
    "h": 282.2
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#472DB7
secondary
#B9C878
accent
#E444C6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #472DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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