#47249E#47249E

#47249E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.182 H 287.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#47249E
RGBrgb(71, 36, 158)
HSLhsl(257, 63%, 38%)
HSVhsv(257, 77%, 62%)
CMYKcmyk(55.1%, 77.2%, 0%, 38%)
CIE-LABlab(26.93, 46.17, -60.08)
CIE-LCHlch(26.93, 75.77, 307.54°)
OKLaboklab(39.08% 0.0559 -0.1728)
OKLCHoklch(39.08% 0.182 287.9)
XYZxyz(9.3991, 5.0695, 32.8244)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47249E #7B9E24
analogous
#243E9E #47249E #84249E
triadic
#47249E #9E4724 #249E47
tetradic
#47249E #9E243E #7B9E24 #249E84
square
#47249E #9E243E #7B9E24 #249E84
split-complementary
#47249E #9E8424 #3E9E24
monochromatic
#1A0D3A #31196C #47249E #5D2FD0 #8461DB

Accessibility & contrast

On white

10.43
#47249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#47249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47249E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47249E#FFFFFF#000000##FFFFFF
##47249E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#234660
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #47249e;
/* rgb */ color: rgb(71, 36, 158);
/* oklch */ color: oklch(39.1% 0.182 287.9);
Tailwind
colors: {
  custom: {
    50: '#8463bc',
    500: '#47249e',
    950: '#000000',
  },
}
SCSS
$custom: #47249e;
$custom-light: #8463bc;
$custom-dark: #000000;
JSON
{
  "hex": "#47249e",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 257.213,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39083,
    "c": 0.18167,
    "h": 287.9
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#47249E
secondary
#A4C05E
accent
#E642B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47249E

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

Preview Lab → · Contrast checker → · Palette generator →

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