#472382#472382

#472382 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.150 H 295.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#472382
RGBrgb(71, 35, 130)
HSLhsl(263, 58%, 32%)
HSVhsv(263, 73%, 51%)
CMYKcmyk(45.4%, 73.1%, 0%, 49%)
CIE-LABlab(24.17, 38.68, -47.27)
CIE-LCHlch(24.17, 61.07, 309.29°)
OKLaboklab(36.34% 0.0638 -0.1353)
OKLCHoklch(36.34% 0.15 295.2)
XYZxyz(7.2277, 4.1532, 21.5356)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472382 #5E8223
analogous
#232E82 #472382 #772382
triadic
#472382 #824723 #238247
tetradic
#472382 #82232E #5E8223 #238277
square
#472382 #82232E #5E8223 #238277
split-complementary
#472382 #827723 #2E8223
monochromatic
#120922 #2D1652 #472382 #6130B2 #8050D0

Accessibility & contrast

On white

11.47
#472382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #472382
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472382#FFFFFF#000000##FFFFFF
##4723821.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#373B50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472382;
/* rgb */ color: rgb(71, 35, 130);
/* oklch */ color: oklch(36.3% 0.150 295.2);
Tailwind
colors: {
  custom: {
    50: '#8061a7',
    500: '#472382',
    950: '#000000',
  },
}
SCSS
$custom: #472382;
$custom-light: #8061a7;
$custom-dark: #000000;
JSON
{
  "hex": "#472382",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 262.737,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36344,
    "c": 0.14954,
    "h": 295.2
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#472382
secondary
#8DB34D
accent
#E147A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #472382

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

Preview Lab → · Contrast checker → · Palette generator →

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