#47279E#47279E

#47279E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.179 H 287.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#47279E
RGBrgb(71, 39, 158)
HSLhsl(256, 60%, 39%)
HSVhsv(256, 75%, 62%)
CMYKcmyk(55.1%, 75.3%, 0%, 38%)
CIE-LABlab(27.46, 44.66, -59.22)
CIE-LCHlch(27.46, 74.17, 307.03°)
OKLaboklab(39.45% 0.0536 -0.1703)
OKLCHoklch(39.45% 0.179 287.5)
XYZxyz(9.4938, 5.2588, 32.8559)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47279E #7E9E27
analogous
#27439E #47279E #82279E
triadic
#47279E #9E4727 #279E47
tetradic
#47279E #9E2743 #7E9E27 #279E82
square
#47279E #9E2743 #7E9E27 #279E82
split-complementary
#47279E #9E8227 #439E27
monochromatic
#1B0F3C #311B6D #47279E #5E35CD #8566D9

Accessibility & contrast

On white

10.23
#47279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#47279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47279E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47279E#FFFFFF#000000##FFFFFF
##47279E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#234860
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #47279e;
/* rgb */ color: rgb(71, 39, 158);
/* oklch */ color: oklch(39.5% 0.179 287.5);
Tailwind
colors: {
  custom: {
    50: '#8465bc',
    500: '#47279e',
    950: '#000000',
  },
}
SCSS
$custom: #47279e;
$custom-light: #8465bc;
$custom-dark: #000000;
JSON
{
  "hex": "#47279e",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 256.134,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39454,
    "c": 0.17857,
    "h": 287.5
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#47279E
secondary
#A6BF62
accent
#E444B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47279E

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

Preview Lab → · Contrast checker → · Palette generator →

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