#47277E#47277E

#47277E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.139 H 295.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#47277E
RGBrgb(71, 39, 126)
HSLhsl(262, 53%, 32%)
HSVhsv(262, 69%, 49%)
CMYKcmyk(43.7%, 69%, 0%, 50.6%)
CIE-LABlab(24.63, 35.34, -44.00)
CIE-LCHlch(24.63, 56.43, 308.77°)
OKLaboklab(36.57% 0.0601 -0.1257)
OKLCHoklch(36.57% 0.139 295.6)
XYZxyz(7.0890, 4.2968, 20.1905)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47277E #5E7E27
analogous
#27337E #47277E #73277E
triadic
#47277E #7E4727 #277E47
tetradic
#47277E #7E2733 #5E7E27 #277E73
square
#47277E #7E2733 #5E7E27 #277E73
split-complementary
#47277E #7E7327 #337E27
monochromatic
#120A21 #2D194F #47277E #6135AD #8055CA

Accessibility & contrast

On white

11.29
#47277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47277E
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47277E#FFFFFF#000000##FFFFFF
##47277E1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#393C4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #47277e;
/* rgb */ color: rgb(71, 39, 126);
/* oklch */ color: oklch(36.6% 0.139 295.6);
Tailwind
colors: {
  custom: {
    50: '#7f63a4',
    500: '#47277e',
    950: '#000000',
  },
}
SCSS
$custom: #47277e;
$custom-light: #7f63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#47277e",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 262.069,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36567,
    "c": 0.13932,
    "h": 295.6
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#47277E
secondary
#8DAF52
accent
#DC4CA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #47277E

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

Preview Lab → · Contrast checker → · Palette generator →

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