#47247B#47247B

#47247B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.140 H 297.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#47247B
RGBrgb(71, 36, 123)
HSLhsl(264, 55%, 31%)
HSVhsv(264, 71%, 48%)
CMYKcmyk(42.3%, 70.7%, 0%, 51.8%)
CIE-LABlab(23.77, 36.16, -43.49)
CIE-LCHlch(23.77, 56.56, 309.75°)
OKLaboklab(35.88% 0.064 -0.1242)
OKLCHoklch(35.88% 0.14 297.3)
XYZxyz(6.8036, 4.0313, 19.1547)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47247B #587B24
analogous
#242C7B #47247B #72247B
triadic
#47247B #7B4724 #247B47
tetradic
#47247B #7B242C #587B24 #247B72
square
#47247B #7B242C #587B24 #247B72
split-complementary
#47247B #7B7224 #2C7B24
monochromatic
#10081C #2C164C #47247B #6232AA #804ECB

Accessibility & contrast

On white

11.63
#47247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#47247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47247B
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47247B#FFFFFF#000000##FFFFFF
##47247B1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#3A394C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #47247b;
/* rgb */ color: rgb(71, 36, 123);
/* oklch */ color: oklch(35.9% 0.140 297.3);
Tailwind
colors: {
  custom: {
    50: '#7f61a2',
    500: '#47247b',
    950: '#000000',
  },
}
SCSS
$custom: #47247b;
$custom-light: #7f61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#47247b",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 264.138,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35877,
    "c": 0.13968,
    "h": 297.3
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#47247B
secondary
#87AD4D
accent
#DE4AA2
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #47247B

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

Preview Lab → · Contrast checker → · Palette generator →

#47247B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva