#472BB8#472BB8

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

Color values

HEX#472BB8
RGBrgb(71, 43, 184)
HSLhsl(252, 62%, 45%)
HSVhsv(252, 77%, 72%)
CMYKcmyk(61.4%, 76.6%, 0%, 27.8%)
CIE-LABlab(30.71, 50.29, -69.50)
CIE-LCHlch(30.71, 85.79, 305.89°)
OKLaboklab(42.5% 0.0439 -0.2004)
OKLCHoklch(42.5% 0.205 282.4)
XYZxyz(12.1114, 6.5272, 45.9598)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472BB8 #9CB82B
analogous
#2B55B8 #472BB8 #8E2BB8
triadic
#472BB8 #B8472B #2BB847
tetradic
#472BB8 #B82B55 #9CB82B #2BB88E
square
#472BB8 #B82B55 #9CB82B #2BB88E
split-complementary
#472BB8 #B88E2B #55B82B
monochromatic
#211455 #341F86 #472BB8 #674BD5 #917DE1

Accessibility & contrast

On white

9.11
#472BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472BB8
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472BB8#FFFFFF#000000##FFFFFF
##472BB81.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472bb8;
/* rgb */ color: rgb(71, 43, 184);
/* oklch */ color: oklch(42.5% 0.205 282.4);
Tailwind
colors: {
  custom: {
    50: '#8868cf',
    500: '#472bb8',
    950: '#000000',
  },
}
SCSS
$custom: #472bb8;
$custom-light: #8868cf;
$custom-dark: #000000;
JSON
{
  "hex": "#472bb8",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 251.915,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.425,
    "c": 0.20518,
    "h": 282.4
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #472BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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