#472082#472082

#472082 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.153 H 295.8°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#472082
RGBrgb(71, 32, 130)
HSLhsl(264, 60%, 32%)
HSVhsv(264, 75%, 51%)
CMYKcmyk(45.4%, 75.4%, 0%, 49%)
CIE-LABlab(23.62, 40.23, -48.17)
CIE-LCHlch(23.62, 62.76, 309.87°)
OKLaboklab(35.95% 0.0668 -0.1379)
OKLCHoklch(35.95% 0.153 295.8)
XYZxyz(7.1432, 3.9842, 21.5074)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472082 #5B8220
analogous
#202A82 #472082 #782082
triadic
#472082 #824720 #208247
tetradic
#472082 #82202A #5B8220 #208278
square
#472082 #82202A #5B8220 #208278
split-complementary
#472082 #827820 #2A8220
monochromatic
#110820 #2C1451 #472082 #622CB3 #804AD2

Accessibility & contrast

On white

11.69
#472082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#472082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472082
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472082#FFFFFF#000000##FFFFFF
##4720821.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#37394F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #472082;
/* rgb */ color: rgb(71, 32, 130);
/* oklch */ color: oklch(36.0% 0.153 295.8);
Tailwind
colors: {
  custom: {
    50: '#805fa7',
    500: '#472082',
    950: '#000000',
  },
}
SCSS
$custom: #472082;
$custom-light: #805fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#472082",
  "rgb": {
    "r": 71,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 263.878,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35953,
    "c": 0.1532,
    "h": 295.8
  },
  "luminance": 0.03984
}

Semantic roles & 50–950 ramp

primary
#472082
secondary
#8AB549
accent
#E444A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472082

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

Preview Lab → · Contrast checker → · Palette generator →

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