#47297D#47297D

#47297D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.135 H 295.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#47297D
RGBrgb(71, 41, 125)
HSLhsl(261, 51%, 33%)
HSVhsv(261, 67%, 49%)
CMYKcmyk(43.2%, 67.2%, 0%, 51%)
CIE-LABlab(24.97, 33.90, -42.81)
CIE-LCHlch(24.97, 54.61, 308.37°)
OKLaboklab(36.79% 0.058 -0.1222)
OKLCHoklch(36.79% 0.135 295.4)
XYZxyz(7.0922, 4.4060, 19.8748)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47297D #5F7D29
analogous
#29357D #47297D #71297D
triadic
#47297D #7D4729 #297D47
tetradic
#47297D #7D2935 #5F7D29 #297D71
square
#47297D #7D2935 #5F7D29 #297D71
split-complementary
#47297D #7D7129 #357D29
monochromatic
#130B21 #2D1A4F #47297D #6138AB #8058C8

Accessibility & contrast

On white

11.16
#47297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#47297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47297D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47297D#FFFFFF#000000##FFFFFF
##47297D1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47297d;
/* rgb */ color: rgb(71, 41, 125);
/* oklch */ color: oklch(36.8% 0.135 295.4);
Tailwind
colors: {
  custom: {
    50: '#7f65a3',
    500: '#47297d',
    950: '#000000',
  },
}
SCSS
$custom: #47297d;
$custom-light: #7f65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#47297d",
  "rgb": {
    "r": 71,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 261.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36787,
    "c": 0.13524,
    "h": 295.4
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#47297D
secondary
#8EAE54
accent
#DA4EA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #47297D

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

Preview Lab → · Contrast checker → · Palette generator →

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