#472CA8#472CA8

#472CA8 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.185 H 284.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#472CA8
RGBrgb(71, 44, 168)
HSLhsl(253, 58%, 42%)
HSVhsv(253, 74%, 66%)
CMYKcmyk(57.7%, 73.8%, 0%, 34.1%)
CIE-LABlab(29.33, 45.02, -62.20)
CIE-LCHlch(29.33, 76.78, 305.89°)
OKLaboklab(41.06% 0.0472 -0.1791)
OKLCHoklch(41.06% 0.185 284.8)
XYZxyz(10.5649, 5.9675, 37.6333)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472CA8 #8DA82C
analogous
#2C4FA8 #472CA8 #852CA8
triadic
#472CA8 #A8472C #2CA847
tetradic
#472CA8 #A82C4F #8DA82C #2CA885
square
#472CA8 #A82C4F #8DA82C #2CA885
split-complementary
#472CA8 #A8852C #4FA82C
monochromatic
#1E1347 #331F78 #472CA8 #6243CE #8A74DB

Accessibility & contrast

On white

9.57
#472CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#472CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472CA8
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472CA8#FFFFFF#000000##FFFFFF
##472CA81.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#144E67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #472ca8;
/* rgb */ color: rgb(71, 44, 168);
/* oklch */ color: oklch(41.1% 0.185 284.8);
Tailwind
colors: {
  custom: {
    50: '#8568c3',
    500: '#472ca8',
    950: '#000000',
  },
}
SCSS
$custom: #472ca8;
$custom-light: #8568c3;
$custom-dark: #000000;
JSON
{
  "hex": "#472ca8",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 253.065,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.18522,
    "h": 284.8
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#472CA8
secondary
#B0C26E
accent
#E246C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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