#472186#472186

#472186 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.157 H 294.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#472186
RGBrgb(71, 33, 134)
HSLhsl(263, 60%, 33%)
HSVhsv(263, 75%, 53%)
CMYKcmyk(47%, 75.4%, 0%, 47.5%)
CIE-LABlab(24.16, 40.84, -49.80)
CIE-LCHlch(24.16, 64.41, 309.35°)
OKLaboklab(36.44% 0.0648 -0.1427)
OKLCHoklch(36.44% 0.157 294.4)
XYZxyz(7.4443, 4.1483, 22.9581)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472186 #608621
analogous
#212E86 #472186 #792186
triadic
#472186 #864721 #218647
tetradic
#472186 #86212E #608621 #218679
square
#472186 #86212E #608621 #218679
split-complementary
#472186 #867921 #2E8621
monochromatic
#130924 #2D1555 #472186 #612DB7 #804ED3

Accessibility & contrast

On white

11.48
#472186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#472186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472186
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472186#FFFFFF#000000##FFFFFF
##4721861.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#353B51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472186;
/* rgb */ color: rgb(71, 33, 134);
/* oklch */ color: oklch(36.4% 0.157 294.4);
Tailwind
colors: {
  custom: {
    50: '#8160aa',
    500: '#472186',
    950: '#000000',
  },
}
SCSS
$custom: #472186;
$custom-light: #8160aa;
$custom-dark: #000000;
JSON
{
  "hex": "#472186",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 262.574,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36443,
    "c": 0.15674,
    "h": 294.4
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#472186
secondary
#8FB74C
accent
#E444A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472186

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

Preview Lab → · Contrast checker → · Palette generator →

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