#472ABB#472ABB

#472ABB is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.210 H 282.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#472ABB
RGBrgb(71, 42, 187)
HSLhsl(252, 63%, 45%)
HSVhsv(252, 78%, 73%)
CMYKcmyk(62%, 77.5%, 0%, 26.7%)
CIE-LABlab(30.84, 51.66, -71.06)
CIE-LCHlch(30.84, 87.85, 306.02°)
OKLaboklab(42.68% 0.0437 -0.205)
OKLCHoklch(42.68% 0.21 282)
XYZxyz(12.3933, 6.5825, 47.6215)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472ABB #9EBB2A
analogous
#2A55BB #472ABB #902ABB
triadic
#472ABB #BB472A #2ABB47
tetradic
#472ABB #BB2A55 #9EBB2A #2ABB90
square
#472ABB #BB2A55 #9EBB2A #2ABB90
split-complementary
#472ABB #BB902A #55BB2A
monochromatic
#211457 #341F89 #472ABB #674CD7 #927DE2

Accessibility & contrast

On white

9.07
#472ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472ABB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472ABB#FFFFFF#000000##FFFFFF
##472ABB1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #472abb;
/* rgb */ color: rgb(71, 42, 187);
/* oklch */ color: oklch(42.7% 0.210 282.0);
Tailwind
colors: {
  custom: {
    50: '#8968d1',
    500: '#472abb',
    950: '#000000',
  },
}
SCSS
$custom: #472abb;
$custom-light: #8968d1;
$custom-dark: #000000;
JSON
{
  "hex": "#472abb",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 252,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.20959,
    "h": 282
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#472ABB
secondary
#BACA76
accent
#E641C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #472ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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