#47248A#47248A

#47248A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.158 H 292.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#47248A
RGBrgb(71, 36, 138)
HSLhsl(261, 59%, 34%)
HSVhsv(261, 74%, 54%)
CMYKcmyk(48.6%, 73.9%, 0%, 45.9%)
CIE-LABlab(25.06, 40.43, -50.82)
CIE-LCHlch(25.06, 64.94, 308.50°)
OKLaboklab(37.2% 0.0611 -0.1457)
OKLCHoklch(37.2% 0.158 292.7)
XYZxyz(7.8156, 4.4361, 24.4843)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47248A #678A24
analogous
#24348A #47248A #7A248A
triadic
#47248A #8A4724 #248A47
tetradic
#47248A #8A2434 #678A24 #248A7A
square
#47248A #8A2434 #678A24 #248A7A
split-complementary
#47248A #8A7A24 #348A24
monochromatic
#150B29 #2E1759 #47248A #6031BB #8156D3

Accessibility & contrast

On white

11.13
#47248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#47248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47248A
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47248A#FFFFFF#000000##FFFFFF
##47248A1.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)
#003D8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#323F54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47248a;
/* rgb */ color: rgb(71, 36, 138);
/* oklch */ color: oklch(37.2% 0.158 292.7);
Tailwind
colors: {
  custom: {
    50: '#8162ad',
    500: '#47248a',
    950: '#000000',
  },
}
SCSS
$custom: #47248a;
$custom-light: #8162ad;
$custom-dark: #000000;
JSON
{
  "hex": "#47248a",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 260.588,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37196,
    "c": 0.15797,
    "h": 292.7
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#47248A
secondary
#95B753
accent
#E246AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #47248A

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

Preview Lab → · Contrast checker → · Palette generator →

#47248A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva