#47239E#47239E

#47239E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.183 H 288.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#47239E
RGBrgb(71, 35, 158)
HSLhsl(258, 64%, 38%)
HSVhsv(258, 78%, 62%)
CMYKcmyk(55.1%, 77.8%, 0%, 38%)
CIE-LABlab(26.76, 46.65, -60.36)
CIE-LCHlch(26.76, 76.29, 307.70°)
OKLaboklab(38.96% 0.0567 -0.1737)
OKLCHoklch(38.96% 0.183 288.1)
XYZxyz(9.3693, 5.0098, 32.8144)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47239E #7A9E23
analogous
#233C9E #47239E #84239E
triadic
#47239E #9E4723 #239E47
tetradic
#47239E #9E233C #7A9E23 #239E84
square
#47239E #9E233C #7A9E23 #239E84
split-complementary
#47239E #9E8423 #3C9E23
monochromatic
#1A0D3A #30186C #47239E #5E2ED0 #8460DC

Accessibility & contrast

On white

10.49
#47239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#47239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47239E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47239E#FFFFFF#000000##FFFFFF
##47239E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47239e;
/* rgb */ color: rgb(71, 35, 158);
/* oklch */ color: oklch(39.0% 0.183 288.1);
Tailwind
colors: {
  custom: {
    50: '#8463bc',
    500: '#47239e',
    950: '#000000',
  },
}
SCSS
$custom: #47239e;
$custom-light: #8463bc;
$custom-dark: #000000;
JSON
{
  "hex": "#47239e",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 257.561,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38964,
    "c": 0.18267,
    "h": 288.1
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#47239E
secondary
#A3C15C
accent
#E741B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47239E

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

Preview Lab → · Contrast checker → · Palette generator →

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