#47279B#47279B

#47279B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.175 H 288.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#47279B
RGBrgb(71, 39, 155)
HSLhsl(257, 60%, 38%)
HSVhsv(257, 75%, 61%)
CMYKcmyk(54.2%, 74.8%, 0%, 39.2%)
CIE-LABlab(27.18, 43.79, -57.85)
CIE-LCHlch(27.18, 72.55, 307.12°)
OKLaboklab(39.17% 0.0543 -0.1663)
OKLCHoklch(39.17% 0.175 288.1)
XYZxyz(9.2387, 5.1567, 31.5125)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47279B #7B9B27
analogous
#27419B #47279B #81279B
triadic
#47279B #9B4727 #279B47
tetradic
#47279B #9B2741 #7B9B27 #279B81
square
#47279B #9B2741 #7B9B27 #279B81
split-complementary
#47279B #9B8127 #419B27
monochromatic
#1A0E39 #311B6A #47279B #5D33CC #8464D8

Accessibility & contrast

On white

10.34
#47279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#47279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47279B
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47279B#FFFFFF#000000##FFFFFF
##47279B1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#26475F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #47279b;
/* rgb */ color: rgb(71, 39, 155);
/* oklch */ color: oklch(39.2% 0.175 288.1);
Tailwind
colors: {
  custom: {
    50: '#8365ba',
    500: '#47279b',
    950: '#000000',
  },
}
SCSS
$custom: #47279b;
$custom-light: #8365ba;
$custom-dark: #000000;
JSON
{
  "hex": "#47279b",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 256.552,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39168,
    "c": 0.17499,
    "h": 288.1
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#47279B
secondary
#A4BE60
accent
#E345B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #47279B

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

Preview Lab → · Contrast checker → · Palette generator →

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