#47246F#47246F

#47246F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.125 H 301.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#47246F
RGBrgb(71, 36, 111)
HSLhsl(268, 51%, 29%)
HSVhsv(268, 68%, 44%)
CMYKcmyk(36%, 67.6%, 0%, 56.5%)
CIE-LABlab(22.82, 32.82, -37.35)
CIE-LCHlch(22.82, 49.72, 311.31°)
OKLaboklab(34.89% 0.0655 -0.1061)
OKLCHoklch(34.89% 0.125 301.7)
XYZxyz(6.0980, 3.7490, 15.4382)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47246F #4C6F24
analogous
#24276F #47246F #6D246F
triadic
#47246F #6F4724 #246F47
tetradic
#47246F #6F2427 #4C6F24 #246F6D
square
#47246F #6F2427 #4C6F24 #246F6D
split-complementary
#47246F #6F6D24 #276F24
monochromatic
#0F0717 #291541 #47246F #65339D #8349C4

Accessibility & contrast

On white

12.00
#47246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#47246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47246F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47246F#FFFFFF#000000##FFFFFF
##47246F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#07366D
Tritanopia (blue-blind)
#3F3446
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #47246f;
/* rgb */ color: rgb(71, 36, 111);
/* oklch */ color: oklch(34.9% 0.125 301.7);
Tailwind
colors: {
  custom: {
    50: '#7e6199',
    500: '#47246f',
    950: '#000000',
  },
}
SCSS
$custom: #47246f;
$custom-light: #7e6199;
$custom-dark: #000000;
JSON
{
  "hex": "#47246f",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 268,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34893,
    "c": 0.12472,
    "h": 301.7
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#47246F
secondary
#7AA24D
accent
#DA4D99
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #47246F

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

Preview Lab → · Contrast checker → · Palette generator →

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