#472EAF#472EAF

#472EAF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.192 H 283.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#472EAF
RGBrgb(71, 46, 175)
HSLhsl(252, 58%, 43%)
HSVhsv(252, 74%, 69%)
CMYKcmyk(59.4%, 73.7%, 0%, 31.4%)
CIE-LABlab(30.37, 46.06, -64.69)
CIE-LCHlch(30.37, 79.42, 305.45°)
OKLaboklab(42% 0.0441 -0.1864)
OKLCHoklch(42% 0.192 283.3)
XYZxyz(11.3110, 6.3880, 41.1861)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472EAF #96AF2E
analogous
#2E55AF #472EAF #872EAF
triadic
#472EAF #AF472E #2EAF47
tetradic
#472EAF #AF2E55 #96AF2E #2EAF87
square
#472EAF #AF2E55 #96AF2E #2EAF87
split-complementary
#472EAF #AF872E #55AF2E
monochromatic
#20154E #33217F #472EAF #644BD0 #8E7BDC

Accessibility & contrast

On white

9.22
#472EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#472EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472EAF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472EAF#FFFFFF#000000##FFFFFF
##472EAF1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#01526C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #472eaf;
/* rgb */ color: rgb(71, 46, 175);
/* oklch */ color: oklch(42.0% 0.192 283.3);
Tailwind
colors: {
  custom: {
    50: '#866ac8',
    500: '#472eaf',
    950: '#000000',
  },
}
SCSS
$custom: #472eaf;
$custom-light: #866ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#472eaf",
  "rgb": {
    "r": 71,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 251.628,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42,
    "c": 0.19155,
    "h": 283.3
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#472EAF
secondary
#B5C574
accent
#E246C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #472EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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