#47228D#47228D

#47228D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.164 H 292.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#47228D
RGBrgb(71, 34, 141)
HSLhsl(261, 61%, 34%)
HSVhsv(261, 76%, 55%)
CMYKcmyk(49.6%, 75.9%, 0%, 44.7%)
CIE-LABlab(24.97, 42.31, -52.84)
CIE-LCHlch(24.97, 67.69, 308.68°)
OKLaboklab(37.21% 0.0622 -0.1516)
OKLCHoklch(37.21% 0.164 292.3)
XYZxyz(7.9769, 4.4065, 25.6244)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47228D #688D22
analogous
#22328D #47228D #7D228D
triadic
#47228D #8D4722 #228D47
tetradic
#47228D #8D2232 #688D22 #228D7D
square
#47228D #8D2232 #688D22 #228D7D
split-complementary
#47228D #8D7D22 #328D22
monochromatic
#150A2A #2E165C #47228D #602EBE #8154D6

Accessibility & contrast

On white

11.16
#47228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#47228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47228D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47228D#FFFFFF#000000##FFFFFF
##47228D1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#313F56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47228d;
/* rgb */ color: rgb(71, 34, 141);
/* oklch */ color: oklch(37.2% 0.164 292.3);
Tailwind
colors: {
  custom: {
    50: '#8261af',
    500: '#47228d',
    950: '#000000',
  },
}
SCSS
$custom: #47228d;
$custom-light: #8261af;
$custom-dark: #000000;
JSON
{
  "hex": "#47228d",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 260.748,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37215,
    "c": 0.16386,
    "h": 292.3
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#47228D
secondary
#95B951
accent
#E444AD
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #47228D

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

Preview Lab → · Contrast checker → · Palette generator →

#47228D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva