#47239C#47239C

#47239C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.180 H 288.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#47239C
RGBrgb(71, 35, 156)
HSLhsl(258, 63%, 37%)
HSVhsv(258, 78%, 61%)
CMYKcmyk(54.5%, 77.6%, 0%, 38.8%)
CIE-LABlab(26.57, 46.08, -59.46)
CIE-LCHlch(26.57, 75.23, 307.77°)
OKLaboklab(38.77% 0.0573 -0.171)
OKLCHoklch(38.77% 0.18 288.5)
XYZxyz(9.1986, 4.9415, 31.9152)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47239C #789C23
analogous
#233C9C #47239C #83239C
triadic
#47239C #9C4723 #239C47
tetradic
#47239C #9C233C #789C23 #239C83
square
#47239C #9C233C #789C23 #239C83
split-complementary
#47239C #9C8323 #3C9C23
monochromatic
#1A0D38 #30186A #47239C #5E2ECE #835EDB

Accessibility & contrast

On white

10.56
#47239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#47239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47239C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47239C#FFFFFF#000000##FFFFFF
##47239C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#25455E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #47239c;
/* rgb */ color: rgb(71, 35, 156);
/* oklch */ color: oklch(38.8% 0.180 288.5);
Tailwind
colors: {
  custom: {
    50: '#8462ba',
    500: '#47239c',
    950: '#000000',
  },
}
SCSS
$custom: #47239c;
$custom-light: #8462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47239c",
  "rgb": {
    "r": 71,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 257.851,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.18035,
    "h": 288.5
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#47239C
secondary
#A2C05B
accent
#E641B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #47239C

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

Preview Lab → · Contrast checker → · Palette generator →

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