#472ABA#472ABA

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

Color values

HEX#472ABA
RGBrgb(71, 42, 186)
HSLhsl(252, 63%, 45%)
HSVhsv(252, 77%, 73%)
CMYKcmyk(61.8%, 77.4%, 0%, 27.1%)
CIE-LABlab(30.74, 51.37, -70.64)
CIE-LCHlch(30.74, 87.34, 306.03°)
OKLaboklab(42.58% 0.044 -0.2037)
OKLCHoklch(42.58% 0.208 282.2)
XYZxyz(12.2867, 6.5398, 47.0597)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472ABA #9DBA2A
analogous
#2A55BA #472ABA #8F2ABA
triadic
#472ABA #BA472A #2ABA47
tetradic
#472ABA #BA2A55 #9DBA2A #2ABA8F
square
#472ABA #BA2A55 #9DBA2A #2ABA8F
split-complementary
#472ABA #BA8F2A #55BA2A
monochromatic
#211356 #341F88 #472ABA #674BD6 #917DE2

Accessibility & contrast

On white

9.10
#472ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472ABA
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472ABA#FFFFFF#000000##FFFFFF
##472ABA1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #472aba;
/* rgb */ color: rgb(71, 42, 186);
/* oklch */ color: oklch(42.6% 0.208 282.2);
Tailwind
colors: {
  custom: {
    50: '#8968d0',
    500: '#472aba',
    950: '#000000',
  },
}
SCSS
$custom: #472aba;
$custom-light: #8968d0;
$custom-dark: #000000;
JSON
{
  "hex": "#472aba",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 252.083,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.20843,
    "h": 282.2
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#472ABA
secondary
#B9CA76
accent
#E642C5
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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