#472A8E#472A8E

#472A8E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.156 H 290.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#472A8E
RGBrgb(71, 42, 142)
HSLhsl(257, 54%, 36%)
HSVhsv(257, 70%, 56%)
CMYKcmyk(50%, 70.4%, 0%, 44.3%)
CIE-LABlab(26.59, 38.33, -50.82)
CIE-LCHlch(26.59, 63.65, 307.03°)
OKLaboklab(38.39% 0.0544 -0.1457)
OKLCHoklch(38.39% 0.156 290.5)
XYZxyz(8.3076, 4.9482, 26.1033)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A8E #718E2A
analogous
#2A3F8E #472A8E #792A8E
triadic
#472A8E #8E472A #2A8E47
tetradic
#472A8E #8E2A3F #718E2A #2A8E79
square
#472A8E #8E2A3F #718E2A #2A8E79
split-complementary
#472A8E #8E792A #3F8E2A
monochromatic
#180E30 #2F1C5F #472A8E #5F38BD #8262D1

Accessibility & contrast

On white

10.55
#472A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#472A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A8E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A8E#FFFFFF#000000##FFFFFF
##472A8E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#2F4358
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472a8e;
/* rgb */ color: rgb(71, 42, 142);
/* oklch */ color: oklch(38.4% 0.156 290.5);
Tailwind
colors: {
  custom: {
    50: '#8166b0',
    500: '#472a8e',
    950: '#000000',
  },
}
SCSS
$custom: #472a8e;
$custom-light: #8166b0;
$custom-dark: #000000;
JSON
{
  "hex": "#472a8e",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 257.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38388,
    "c": 0.15553,
    "h": 290.5
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#472A8E
secondary
#9DB65D
accent
#DE4AB3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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