#47228F#47228F

#47228F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.166 H 291.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#47228F
RGBrgb(71, 34, 143)
HSLhsl(260, 62%, 35%)
HSVhsv(260, 76%, 56%)
CMYKcmyk(50.3%, 76.2%, 0%, 43.9%)
CIE-LABlab(25.16, 42.87, -53.78)
CIE-LCHlch(25.16, 68.78, 308.56°)
OKLaboklab(37.4% 0.0617 -0.1544)
OKLCHoklch(37.4% 0.166 291.8)
XYZxyz(8.1271, 4.4665, 26.4152)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47228F #6A8F22
analogous
#22348F #47228F #7E228F
triadic
#47228F #8F4722 #228F47
tetradic
#47228F #8F2234 #6A8F22 #228F7E
square
#47228F #8F2234 #6A8F22 #228F7E
split-complementary
#47228F #8F7E22 #348F22
monochromatic
#160A2C #2E165E #47228F #602EC0 #8155D7

Accessibility & contrast

On white

11.09
#47228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47228F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47228F#FFFFFF#000000##FFFFFF
##47228F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2F4057
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #47228f;
/* rgb */ color: rgb(71, 34, 143);
/* oklch */ color: oklch(37.4% 0.166 291.8);
Tailwind
colors: {
  custom: {
    50: '#8261b1',
    500: '#47228f',
    950: '#000000',
  },
}
SCSS
$custom: #47228f;
$custom-light: #8261b1;
$custom-dark: #000000;
JSON
{
  "hex": "#47228f",
  "rgb": {
    "r": 71,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 260.367,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37402,
    "c": 0.16622,
    "h": 291.8
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#47228F
secondary
#97BA52
accent
#E543AE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #47228F

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

Preview Lab → · Contrast checker → · Palette generator →

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