#47249F#47249F

#47249F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.183 H 287.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#47249F
RGBrgb(71, 36, 159)
HSLhsl(257, 63%, 38%)
HSVhsv(257, 77%, 62%)
CMYKcmyk(55.3%, 77.4%, 0%, 37.6%)
CIE-LABlab(27.03, 46.45, -60.53)
CIE-LCHlch(27.03, 76.30, 307.50°)
OKLaboklab(39.18% 0.0556 -0.1742)
OKLCHoklch(39.18% 0.183 287.7)
XYZxyz(9.4856, 5.1041, 33.2795)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47249F #7C9F24
analogous
#243E9F #47249F #84249F
triadic
#47249F #9F4724 #249F47
tetradic
#47249F #9F243E #7C9F24 #249F84
square
#47249F #9F243E #7C9F24 #249F84
split-complementary
#47249F #9F8424 #3E9F24
monochromatic
#1A0D3B #31196D #47249F #5E30D0 #8562DB

Accessibility & contrast

On white

10.39
#47249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#47249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47249F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47249F#FFFFFF#000000##FFFFFF
##47249F1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#224760
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #47249f;
/* rgb */ color: rgb(71, 36, 159);
/* oklch */ color: oklch(39.2% 0.183 287.7);
Tailwind
colors: {
  custom: {
    50: '#8463bc',
    500: '#47249f',
    950: '#000000',
  },
}
SCSS
$custom: #47249f;
$custom-light: #8463bc;
$custom-dark: #000000;
JSON
{
  "hex": "#47249f",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 257.073,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39181,
    "c": 0.18284,
    "h": 287.7
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#47249F
secondary
#A5C15E
accent
#E642B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47249F

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

Preview Lab → · Contrast checker → · Palette generator →

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