#47246B#47246B

#47246B is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.6% C 0.120 H 303.4°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#47246B
RGBrgb(71, 36, 107)
HSLhsl(270, 50%, 28%)
HSVhsv(270, 66%, 42%)
CMYKcmyk(33.6%, 66.4%, 0%, 58%)
CIE-LABlab(22.52, 31.73, -35.25)
CIE-LCHlch(22.52, 47.43, 311.99°)
OKLaboklab(34.58% 0.0658 -0.0999)
OKLCHoklch(34.58% 0.12 303.4)
XYZxyz(5.8826, 3.6629, 14.3042)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47246B #486B24
analogous
#24256B #47246B #6A246B
triadic
#47246B #6B4724 #246B47
tetradic
#47246B #6B2425 #486B24 #246B6A
square
#47246B #6B2425 #486B24 #246B6A
split-complementary
#47246B #6B6A24 #256B24
monochromatic
#0F0817 #29153D #47246B #653399 #8448C1

Accessibility & contrast

On white

12.12
#47246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#47246B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47246B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47246B#FFFFFF#000000##FFFFFF
##47246B1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#0F3669
Tritanopia (blue-blind)
#403344
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #47246b;
/* rgb */ color: rgb(71, 36, 107);
/* oklch */ color: oklch(34.6% 0.120 303.4);
Tailwind
colors: {
  custom: {
    50: '#7d6196',
    500: '#47246b',
    950: '#000000',
  },
}
SCSS
$custom: #47246b;
$custom-light: #7d6196;
$custom-dark: #000000;
JSON
{
  "hex": "#47246b",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 269.577,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34581,
    "c": 0.11968,
    "h": 303.4
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#47246B
secondary
#769E4D
accent
#D94F95
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #47246B

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

Preview Lab → · Contrast checker → · Palette generator →

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