#472A8A#472A8A

#472A8A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.150 H 291.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#472A8A
RGBrgb(71, 42, 138)
HSLhsl(258, 53%, 35%)
HSVhsv(258, 70%, 54%)
CMYKcmyk(48.6%, 69.6%, 0%, 45.9%)
CIE-LABlab(26.25, 37.15, -48.89)
CIE-LCHlch(26.25, 61.40, 307.23°)
OKLaboklab(38.04% 0.0551 -0.1401)
OKLCHoklch(38.04% 0.15 291.5)
XYZxyz(8.0127, 4.8302, 24.5500)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472A8A #6D8A2A
analogous
#2A3D8A #472A8A #772A8A
triadic
#472A8A #8A472A #2A8A47
tetradic
#472A8A #8A2A3D #6D8A2A #2A8A77
square
#472A8A #8A2A3D #6D8A2A #2A8A77
split-complementary
#472A8A #8A772A #3D8A2A
monochromatic
#170D2C #2F1C5B #472A8A #5F38B9 #8160CF

Accessibility & contrast

On white

10.68
#472A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#472A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472A8A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472A8A#FFFFFF#000000##FFFFFF
##472A8A1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#324256
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472a8a;
/* rgb */ color: rgb(71, 42, 138);
/* oklch */ color: oklch(38.0% 0.150 291.5);
Tailwind
colors: {
  custom: {
    50: '#8166ad',
    500: '#472a8a',
    950: '#000000',
  },
}
SCSS
$custom: #472a8a;
$custom-light: #8166ad;
$custom-dark: #000000;
JSON
{
  "hex": "#472a8a",
  "rgb": {
    "r": 71,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 258.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38038,
    "c": 0.15049,
    "h": 291.5
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#472A8A
secondary
#99B45B
accent
#DD4BB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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