#47279C#47279C

#47279C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.176 H 287.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#47279C
RGBrgb(71, 39, 156)
HSLhsl(256, 60%, 38%)
HSVhsv(256, 75%, 61%)
CMYKcmyk(54.5%, 75%, 0%, 38.8%)
CIE-LABlab(27.27, 44.08, -58.31)
CIE-LCHlch(27.27, 73.09, 307.09°)
OKLaboklab(39.26% 0.0541 -0.1677)
OKLCHoklch(39.26% 0.176 287.9)
XYZxyz(9.3230, 5.1905, 31.9567)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47279C #7C9C27
analogous
#27419C #47279C #81279C
triadic
#47279C #9C4727 #279C47
tetradic
#47279C #9C2741 #7C9C27 #279C81
square
#47279C #9C2741 #7C9C27 #279C81
split-complementary
#47279C #9C8127 #419C27
monochromatic
#1A0F3A #311B6B #47279C #5E34CC #8565D8

Accessibility & contrast

On white

10.30
#47279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#47279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47279C
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47279C#FFFFFF#000000##FFFFFF
##47279C1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#25475F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #47279c;
/* rgb */ color: rgb(71, 39, 156);
/* oklch */ color: oklch(39.3% 0.176 287.9);
Tailwind
colors: {
  custom: {
    50: '#8465ba',
    500: '#47279c',
    950: '#000000',
  },
}
SCSS
$custom: #47279c;
$custom-light: #8465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47279c",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 256.41,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.17618,
    "h": 287.9
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#47279C
secondary
#A5BE61
accent
#E345B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47279C

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

Preview Lab → · Contrast checker → · Palette generator →

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