#472189#472189

#472189 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.160 H 293.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#472189
RGBrgb(71, 33, 137)
HSLhsl(262, 61%, 33%)
HSVhsv(262, 76%, 54%)
CMYKcmyk(48.2%, 75.9%, 0%, 46.3%)
CIE-LABlab(24.43, 41.68, -51.24)
CIE-LCHlch(24.43, 66.05, 309.13°)
OKLaboklab(36.72% 0.0641 -0.1469)
OKLCHoklch(36.72% 0.16 293.6)
XYZxyz(7.6565, 4.2332, 24.0757)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472189 #638921
analogous
#212F89 #472189 #7B2189
triadic
#472189 #894721 #218947
tetradic
#472189 #89212F #638921 #21897B
square
#472189 #89212F #638921 #21897B
split-complementary
#472189 #897B21 #2F8921
monochromatic
#140926 #2D1558 #472189 #612DBA #8050D5

Accessibility & contrast

On white

11.37
#472189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#472189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472189
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472189#FFFFFF#000000##FFFFFF
##4721891.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#333D53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #472189;
/* rgb */ color: rgb(71, 33, 137);
/* oklch */ color: oklch(36.7% 0.160 293.6);
Tailwind
colors: {
  custom: {
    50: '#8160ac',
    500: '#472189',
    950: '#000000',
  },
}
SCSS
$custom: #472189;
$custom-light: #8160ac;
$custom-dark: #000000;
JSON
{
  "hex": "#472189",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 261.923,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36718,
    "c": 0.16027,
    "h": 293.6
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#472189
secondary
#91B84E
accent
#E444AA
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472189

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

Preview Lab → · Contrast checker → · Palette generator →

#472189 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva