#472C8B#472C8B

#472C8B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.149 H 290.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#472C8B
RGBrgb(71, 44, 139)
HSLhsl(257, 52%, 36%)
HSVhsv(257, 68%, 55%)
CMYKcmyk(48.9%, 68.3%, 0%, 45.5%)
CIE-LABlab(26.75, 36.30, -48.69)
CIE-LCHlch(26.75, 60.73, 306.70°)
OKLaboklab(38.42% 0.0528 -0.1395)
OKLCHoklch(38.42% 0.149 290.7)
XYZxyz(8.1581, 5.0047, 24.9573)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472C8B #708B2C
analogous
#2C408B #472C8B #762C8B
triadic
#472C8B #8B472C #2C8B47
tetradic
#472C8B #8B2C40 #708B2C #2C8B76
square
#472C8B #8B2C40 #708B2C #2C8B76
split-complementary
#472C8B #8B762C #408B2C
monochromatic
#180F2E #2F1D5D #472C8B #5F3BB9 #8264CE

Accessibility & contrast

On white

10.49
#472C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#472C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472C8B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472C8B#FFFFFF#000000##FFFFFF
##472C8B1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#314357
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #472c8b;
/* rgb */ color: rgb(71, 44, 139);
/* oklch */ color: oklch(38.4% 0.149 290.7);
Tailwind
colors: {
  custom: {
    50: '#8167ae',
    500: '#472c8b',
    950: '#000000',
  },
}
SCSS
$custom: #472c8b;
$custom-light: #8167ae;
$custom-dark: #000000;
JSON
{
  "hex": "#472c8b",
  "rgb": {
    "r": 71,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 257.053,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38425,
    "c": 0.14915,
    "h": 290.7
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#472C8B
secondary
#9CB45F
accent
#DB4CB3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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