#47277D#47277D

#47277D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.138 H 295.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#47277D
RGBrgb(71, 39, 125)
HSLhsl(262, 52%, 32%)
HSVhsv(262, 69%, 49%)
CMYKcmyk(43.2%, 68.8%, 0%, 51%)
CIE-LABlab(24.55, 35.05, -43.50)
CIE-LCHlch(24.55, 55.86, 308.86°)
OKLaboklab(36.48% 0.0603 -0.1242)
OKLCHoklch(36.48% 0.138 295.9)
XYZxyz(7.0247, 4.2711, 19.8524)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47277D #5D7D27
analogous
#27327D #47277D #72277D
triadic
#47277D #7D4727 #277D47
tetradic
#47277D #7D2732 #5D7D27 #277D72
square
#47277D #7D2732 #5D7D27 #277D72
split-complementary
#47277D #7D7227 #327D27
monochromatic
#120A20 #2D184E #47277D #6136AC #8055CA

Accessibility & contrast

On white

11.33
#47277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#47277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47277D
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47277D#FFFFFF#000000##FFFFFF
##47277D1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#393B4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #47277d;
/* rgb */ color: rgb(71, 39, 125);
/* oklch */ color: oklch(36.5% 0.138 295.9);
Tailwind
colors: {
  custom: {
    50: '#7f63a3',
    500: '#47277d',
    950: '#000000',
  },
}
SCSS
$custom: #47277d;
$custom-light: #7f63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#47277d",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 262.326,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36483,
    "c": 0.13806,
    "h": 295.9
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#47277D
secondary
#8CAF51
accent
#DC4CA6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #47277D

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

Preview Lab → · Contrast checker → · Palette generator →

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