#472CB7#472CB7

#472CB7 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.5% C 0.203 H 282.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#472CB7
RGBrgb(71, 44, 183)
HSLhsl(252, 61%, 45%)
HSVhsv(252, 76%, 72%)
CMYKcmyk(61.2%, 76%, 0%, 28.2%)
CIE-LABlab(30.78, 49.49, -68.78)
CIE-LCHlch(30.78, 84.74, 305.74°)
OKLaboklab(42.52% 0.0435 -0.1983)
OKLCHoklch(42.52% 0.203 282.4)
XYZxyz(12.0438, 6.5590, 45.4219)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CB7 #9CB72C
analogous
#2C56B7 #472CB7 #8D2CB7
triadic
#472CB7 #B7472C #2CB747
tetradic
#472CB7 #B72C56 #9CB72C #2CB78D
square
#472CB7 #B72C56 #9CB72C #2CB78D
split-complementary
#472CB7 #B78D2C #56B72C
monochromatic
#211454 #342086 #472CB7 #674CD4 #917EE0

Accessibility & contrast

On white

9.08
#472CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#472CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CB7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CB7#FFFFFF#000000##FFFFFF
##472CB71.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472cb7;
/* rgb */ color: rgb(71, 44, 183);
/* oklch */ color: oklch(42.5% 0.203 282.4);
Tailwind
colors: {
  custom: {
    50: '#8869ce',
    500: '#472cb7',
    950: '#000000',
  },
}
SCSS
$custom: #472cb7;
$custom-light: #8869ce;
$custom-dark: #000000;
JSON
{
  "hex": "#472cb7",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 251.655,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.20307,
    "h": 282.4
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#472CB7
secondary
#B8C876
accent
#E443C5
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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