#47276F#47276F

#47276F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.120 H 300.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#47276F
RGBrgb(71, 39, 111)
HSLhsl(267, 48%, 29%)
HSVhsv(267, 65%, 44%)
CMYKcmyk(36%, 64.9%, 0%, 56.5%)
CIE-LABlab(23.47, 31.08, -36.32)
CIE-LCHlch(23.47, 47.80, 310.56°)
OKLaboklab(35.36% 0.0617 -0.1031)
OKLCHoklch(35.36% 0.12 300.9)
XYZxyz(6.1926, 3.9383, 15.4698)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47276F #4F6F27
analogous
#272B6F #47276F #6B276F
triadic
#47276F #6F4727 #276F47
tetradic
#47276F #6F272B #4F6F27 #276F6B
square
#47276F #6F272B #4F6F27 #276F6B
split-complementary
#47276F #6F6B27 #2B6F27
monochromatic
#0E0817 #2A1742 #47276F #64379C #824FC1

Accessibility & contrast

On white

11.75
#47276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#47276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47276F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47276F#FFFFFF#000000##FFFFFF
##47276F1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#0E376D
Tritanopia (blue-blind)
#3F3647
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47276f;
/* rgb */ color: rgb(71, 39, 111);
/* oklch */ color: oklch(35.4% 0.120 300.9);
Tailwind
colors: {
  custom: {
    50: '#7d6399',
    500: '#47276f',
    950: '#000000',
  },
}
SCSS
$custom: #47276f;
$custom-light: #7d6399;
$custom-dark: #000000;
JSON
{
  "hex": "#47276f",
  "rgb": {
    "r": 71,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 266.667,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35359,
    "c": 0.12011,
    "h": 300.9
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#47276F
secondary
#7DA250
accent
#D8509B
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #47276F

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

Preview Lab → · Contrast checker → · Palette generator →

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