#472B87#472B87

#472B87 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.145 H 292.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#472B87
RGBrgb(71, 43, 135)
HSLhsl(258, 52%, 35%)
HSVhsv(258, 68%, 53%)
CMYKcmyk(47.4%, 68.1%, 0%, 47.1%)
CIE-LABlab(26.21, 35.68, -47.09)
CIE-LCHlch(26.21, 59.08, 307.15°)
OKLaboklab(37.93% 0.0544 -0.1348)
OKLCHoklch(37.93% 0.145 292)
XYZxyz(7.8344, 4.8164, 23.4338)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472B87 #6B872B
analogous
#2B3D87 #472B87 #752B87
triadic
#472B87 #87472B #2B8747
tetradic
#472B87 #872B3D #6B872B #2B8775
square
#472B87 #872B3D #6B872B #2B8775
split-complementary
#472B87 #87752B #3D872B
monochromatic
#160D2A #2F1C59 #472B87 #5F3AB5 #8160CC

Accessibility & contrast

On white

10.70
#472B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#472B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472B87
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472B87#FFFFFF#000000##FFFFFF
##472B871.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#344155
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #472b87;
/* rgb */ color: rgb(71, 43, 135);
/* oklch */ color: oklch(37.9% 0.145 292.0);
Tailwind
colors: {
  custom: {
    50: '#8066ab',
    500: '#472b87',
    950: '#000000',
  },
}
SCSS
$custom: #472b87;
$custom-light: #8066ab;
$custom-dark: #000000;
JSON
{
  "hex": "#472b87",
  "rgb": {
    "r": 71,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 258.261,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.14534,
    "h": 292
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#472B87
secondary
#98B25B
accent
#DB4DB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #472B87

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

Preview Lab → · Contrast checker → · Palette generator →

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