#47228E#47228E

#47228E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.165 H 292.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#47228E
RGBrgb(71, 34, 142)
HSLhsl(261, 61%, 35%)
HSVhsv(261, 76%, 56%)
CMYKcmyk(50%, 76.1%, 0%, 44.3%)
CIE-LABlab(25.06, 42.59, -53.31)
CIE-LCHlch(25.06, 68.23, 308.62°)
OKLaboklab(37.31% 0.0619 -0.153)
OKLCHoklch(37.31% 0.165 292)
XYZxyz(8.0517, 4.4363, 26.0180)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47228E #698E22
analogous
#22338E #47228E #7D228E
triadic
#47228E #8E4722 #228E47
tetradic
#47228E #8E2233 #698E22 #228E7D
square
#47228E #8E2233 #698E22 #228E7D
split-complementary
#47228E #8E7D22 #338E22
monochromatic
#160A2B #2E165D #47228E #602EBF #8154D6

Accessibility & contrast

On white

11.13
#47228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#47228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47228E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47228E#FFFFFF#000000##FFFFFF
##47228E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#303F56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47228e;
/* rgb */ color: rgb(71, 34, 142);
/* oklch */ color: oklch(37.3% 0.165 292.0);
Tailwind
colors: {
  custom: {
    50: '#8261b0',
    500: '#47228e',
    950: '#000000',
  },
}
SCSS
$custom: #47228e;
$custom-light: #8261b0;
$custom-dark: #000000;
JSON
{
  "hex": "#47228e",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 260.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37308,
    "c": 0.16504,
    "h": 292
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#47228E
secondary
#96BA52
accent
#E443AD
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #47228E

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

Preview Lab → · Contrast checker → · Palette generator →

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