#472184#472184

#472184 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.154 H 295.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#472184
RGBrgb(71, 33, 132)
HSLhsl(263, 60%, 32%)
HSVhsv(263, 75%, 52%)
CMYKcmyk(46.2%, 75%, 0%, 48.2%)
CIE-LABlab(23.98, 40.28, -48.84)
CIE-LCHlch(23.98, 63.31, 309.51°)
OKLaboklab(36.26% 0.0653 -0.1399)
OKLCHoklch(36.26% 0.154 295)
XYZxyz(7.3061, 4.0931, 22.2304)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472184 #5E8421
analogous
#212D84 #472184 #782184
triadic
#472184 #844721 #218447
tetradic
#472184 #84212D #5E8421 #218478
square
#472184 #84212D #5E8421 #218478
split-complementary
#472184 #847821 #2D8421
monochromatic
#120922 #2D1553 #472184 #612DB5 #804DD2

Accessibility & contrast

On white

11.55
#472184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#472184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472184
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472184#FFFFFF#000000##FFFFFF
##4721841.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#363B50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472184;
/* rgb */ color: rgb(71, 33, 132);
/* oklch */ color: oklch(36.3% 0.154 295.0);
Tailwind
colors: {
  custom: {
    50: '#8060a9',
    500: '#472184',
    950: '#000000',
  },
}
SCSS
$custom: #472184;
$custom-light: #8060a9;
$custom-dark: #000000;
JSON
{
  "hex": "#472184",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 263.03,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36261,
    "c": 0.15438,
    "h": 295
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#472184
secondary
#8DB64B
accent
#E345A6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472184

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

Preview Lab → · Contrast checker → · Palette generator →

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