#47277F#47277F

#47277F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.141 H 295.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#47277F
RGBrgb(71, 39, 127)
HSLhsl(262, 53%, 33%)
HSVhsv(262, 69%, 50%)
CMYKcmyk(44.1%, 69.3%, 0%, 50.2%)
CIE-LABlab(24.71, 35.63, -44.50)
CIE-LCHlch(24.71, 57.00, 308.68°)
OKLaboklab(36.65% 0.06 -0.1271)
OKLCHoklch(36.65% 0.141 295.3)
XYZxyz(7.1538, 4.3228, 20.5320)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47277F #5F7F27
analogous
#27337F #47277F #73277F
triadic
#47277F #7F4727 #277F47
tetradic
#47277F #7F2733 #5F7F27 #277F73
square
#47277F #7F2733 #5F7F27 #277F73
split-complementary
#47277F #7F7327 #337F27
monochromatic
#130A21 #2D1950 #47277F #6135AE #8055CB

Accessibility & contrast

On white

11.26
#47277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#47277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47277F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47277F#FFFFFF#000000##FFFFFF
##47277F1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#383C4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47277f;
/* rgb */ color: rgb(71, 39, 127);
/* oklch */ color: oklch(36.7% 0.141 295.3);
Tailwind
colors: {
  custom: {
    50: '#7f63a5',
    500: '#47277f',
    950: '#000000',
  },
}
SCSS
$custom: #47277f;
$custom-light: #7f63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#47277f",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 261.818,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36651,
    "c": 0.14059,
    "h": 295.3
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#47277F
secondary
#8EB052
accent
#DC4BA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #47277F

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

Preview Lab → · Contrast checker → · Palette generator →

#47277F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva