#47287D#47287D

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

Color values

HEX#47287D
RGBrgb(71, 40, 125)
HSLhsl(262, 52%, 32%)
HSVhsv(262, 68%, 49%)
CMYKcmyk(43.2%, 68%, 0%, 51%)
CIE-LABlab(24.76, 34.48, -43.16)
CIE-LCHlch(24.76, 55.24, 308.62°)
OKLaboklab(36.63% 0.0591 -0.1232)
OKLCHoklch(36.63% 0.137 295.6)
XYZxyz(7.0580, 4.3377, 19.8635)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47287D #5E7D28
analogous
#28347D #47287D #71287D
triadic
#47287D #7D4728 #287D47
tetradic
#47287D #7D2834 #5E7D28 #287D71
square
#47287D #7D2834 #5E7D28 #287D71
split-complementary
#47287D #7D7128 #347D28
monochromatic
#120A20 #2D194F #47287D #6137AB #8056C9

Accessibility & contrast

On white

11.24
#47287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#47287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47287D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47287D#FFFFFF#000000##FFFFFF
##47287D1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#393C4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #47287d;
/* rgb */ color: rgb(71, 40, 125);
/* oklch */ color: oklch(36.6% 0.137 295.6);
Tailwind
colors: {
  custom: {
    50: '#7f64a3',
    500: '#47287d',
    950: '#000000',
  },
}
SCSS
$custom: #47287d;
$custom-light: #7f64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#47287d",
  "rgb": {
    "r": 71,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 261.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36634,
    "c": 0.13666,
    "h": 295.6
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#47287D
secondary
#8DAE53
accent
#DB4DA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #47287D

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

Preview Lab → · Contrast checker → · Palette generator →

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