#472A9E#472A9E

#472A9E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.175 H 287.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#472A9E
RGBrgb(71, 42, 158)
HSLhsl(255, 58%, 39%)
HSVhsv(255, 73%, 62%)
CMYKcmyk(55.1%, 73.4%, 0%, 38%)
CIE-LABlab(28.02, 43.09, -58.30)
CIE-LCHlch(28.02, 72.50, 306.47°)
OKLaboklab(39.85% 0.0511 -0.1677)
OKLCHoklch(39.85% 0.175 287)
XYZxyz(9.5962, 5.4636, 32.8901)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A9E #819E2A
analogous
#2A479E #472A9E #812A9E
triadic
#472A9E #9E472A #2A9E47
tetradic
#472A9E #9E2A47 #819E2A #2A9E81
square
#472A9E #9E2A47 #819E2A #2A9E81
split-complementary
#472A9E #9E812A #479E2A
monochromatic
#1C103D #311D6E #472A9E #5F3ACB #866BD8

Accessibility & contrast

On white

10.03
#472A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#472A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A9E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A9E#FFFFFF#000000##FFFFFF
##472A9E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#224961
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #472a9e;
/* rgb */ color: rgb(71, 42, 158);
/* oklch */ color: oklch(39.8% 0.175 287.0);
Tailwind
colors: {
  custom: {
    50: '#8466bc',
    500: '#472a9e',
    950: '#000000',
  },
}
SCSS
$custom: #472a9e;
$custom-light: #8466bc;
$custom-dark: #000000;
JSON
{
  "hex": "#472a9e",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 255,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.1753,
    "h": 287
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#472A9E
secondary
#A8BE66
accent
#E147BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #472A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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