#47239A#47239A

#47239A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.178 H 289.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#47239A
RGBrgb(71, 35, 154)
HSLhsl(258, 63%, 37%)
HSVhsv(258, 77%, 60%)
CMYKcmyk(53.9%, 77.3%, 0%, 39.6%)
CIE-LABlab(26.37, 45.51, -58.56)
CIE-LCHlch(26.37, 74.16, 307.85°)
OKLaboklab(38.57% 0.0578 -0.1684)
OKLCHoklch(38.57% 0.178 289)
XYZxyz(9.0306, 4.8743, 31.0306)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47239A #769A23
analogous
#233B9A #47239A #83239A
triadic
#47239A #9A4723 #239A47
tetradic
#47239A #9A233B #769A23 #239A83
square
#47239A #9A233B #769A23 #239A83
split-complementary
#47239A #9A8323 #3B9A23
monochromatic
#190C36 #301868 #47239A #5E2ECC #835DDA

Accessibility & contrast

On white

10.63
#47239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#47239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47239A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47239A#FFFFFF#000000##FFFFFF
##47239A1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#27445D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #47239a;
/* rgb */ color: rgb(71, 35, 154);
/* oklch */ color: oklch(38.6% 0.178 289.0);
Tailwind
colors: {
  custom: {
    50: '#8462b9',
    500: '#47239a',
    950: '#000000',
  },
}
SCSS
$custom: #47239a;
$custom-light: #8462b9;
$custom-dark: #000000;
JSON
{
  "hex": "#47239a",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 258.151,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38574,
    "c": 0.17803,
    "h": 289
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#47239A
secondary
#A0BF5A
accent
#E642B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47239A

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

Preview Lab → · Contrast checker → · Palette generator →

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