#472B8E#472B8E

#472B8E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.154 H 290.2°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#472B8E
RGBrgb(71, 43, 142)
HSLhsl(257, 54%, 36%)
HSVhsv(257, 70%, 56%)
CMYKcmyk(50%, 69.7%, 0%, 44.3%)
CIE-LABlab(26.79, 37.77, -50.48)
CIE-LCHlch(26.79, 63.05, 306.80°)
OKLaboklab(38.54% 0.0534 -0.1447)
OKLCHoklch(38.54% 0.154 290.2)
XYZxyz(8.3435, 5.0200, 26.1153)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472B8E #728E2B
analogous
#2B418E #472B8E #792B8E
triadic
#472B8E #8E472B #2B8E47
tetradic
#472B8E #8E2B41 #728E2B #2B8E79
square
#472B8E #8E2B41 #728E2B #2B8E79
split-complementary
#472B8E #8E792B #418E2B
monochromatic
#180F30 #301D5F #472B8E #5E39BD #8263D0

Accessibility & contrast

On white

10.48
#472B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472B8E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472B8E#FFFFFF#000000##FFFFFF
##472B8E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #472b8e;
/* rgb */ color: rgb(71, 43, 142);
/* oklch */ color: oklch(38.5% 0.154 290.2);
Tailwind
colors: {
  custom: {
    50: '#8166b0',
    500: '#472b8e',
    950: '#000000',
  },
}
SCSS
$custom: #472b8e;
$custom-light: #8166b0;
$custom-dark: #000000;
JSON
{
  "hex": "#472b8e",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 256.97,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.15426,
    "h": 290.2
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#472B8E
secondary
#9DB65F
accent
#DD4BB4
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #472B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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