#472280#472280

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

Color values

HEX#472280
RGBrgb(71, 34, 128)
HSLhsl(264, 58%, 32%)
HSVhsv(264, 73%, 50%)
CMYKcmyk(44.5%, 73.4%, 0%, 49.8%)
CIE-LABlab(23.81, 38.64, -46.60)
CIE-LCHlch(23.81, 60.53, 309.67°)
OKLaboklab(36.03% 0.0652 -0.1333)
OKLCHoklch(36.03% 0.148 296.1)
XYZxyz(7.0658, 4.0420, 20.8258)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#472280 #5B8022
analogous
#222C80 #472280 #762280
triadic
#472280 #804722 #228047
tetradic
#472280 #80222C #5B8022 #228076
square
#472280 #80222C #5B8022 #228076
split-complementary
#472280 #807622 #2C8022
monochromatic
#11081F #2C1550 #472280 #622FB0 #804DD0

Accessibility & contrast

On white

11.61
#472280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#472280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #472280
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##472280#FFFFFF#000000##FFFFFF
##4722801.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#383A4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #472280;
/* rgb */ color: rgb(71, 34, 128);
/* oklch */ color: oklch(36.0% 0.148 296.1);
Tailwind
colors: {
  custom: {
    50: '#8060a6',
    500: '#472280',
    950: '#000000',
  },
}
SCSS
$custom: #472280;
$custom-light: #8060a6;
$custom-dark: #000000;
JSON
{
  "hex": "#472280",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 263.617,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36034,
    "c": 0.14838,
    "h": 296.1
  },
  "luminance": 0.04042
}

Semantic roles & 50–950 ramp

primary
#472280
secondary
#8AB24B
accent
#E147A4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #472280

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

Preview Lab → · Contrast checker → · Palette generator →

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