#472CBA#472CBA

#472CBA is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.207 H 281.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#472CBA
RGBrgb(71, 44, 186)
HSLhsl(251, 62%, 45%)
HSVhsv(251, 76%, 73%)
CMYKcmyk(61.8%, 76.3%, 0%, 27.1%)
CIE-LABlab(31.08, 50.38, -70.07)
CIE-LCHlch(31.08, 86.30, 305.72°)
OKLaboklab(42.82% 0.0427 -0.2021)
OKLCHoklch(42.82% 0.207 281.9)
XYZxyz(12.3594, 6.6852, 47.0839)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CBA #9FBA2C
analogous
#2C58BA #472CBA #8E2CBA
triadic
#472CBA #BA472C #2CBA47
tetradic
#472CBA #BA2C58 #9FBA2C #2CBA8E
square
#472CBA #BA2C58 #9FBA2C #2CBA8E
split-complementary
#472CBA #BA8E2C #58BA2C
monochromatic
#211557 #342089 #472CBA #684ED5 #9280E1

Accessibility & contrast

On white

8.99
#472CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#472CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CBA
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CBA#FFFFFF#000000##FFFFFF
##472CBA1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #472cba;
/* rgb */ color: rgb(71, 44, 186);
/* oklch */ color: oklch(42.8% 0.207 281.9);
Tailwind
colors: {
  custom: {
    50: '#8869d0',
    500: '#472cba',
    950: '#000000',
  },
}
SCSS
$custom: #472cba;
$custom-light: #8869d0;
$custom-dark: #000000;
JSON
{
  "hex": "#472cba",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 251.408,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42822,
    "c": 0.20657,
    "h": 281.9
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#472CBA
secondary
#BACA78
accent
#E543C6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #472CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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