#47246E#47246E

#47246E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.123 H 302.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#47246E
RGBrgb(71, 36, 110)
HSLhsl(268, 51%, 29%)
HSVhsv(268, 67%, 43%)
CMYKcmyk(35.5%, 67.3%, 0%, 56.9%)
CIE-LABlab(22.75, 32.55, -36.83)
CIE-LCHlch(22.75, 49.15, 311.47°)
OKLaboklab(34.82% 0.0656 -0.1046)
OKLCHoklch(34.82% 0.123 302.1)
XYZxyz(6.0432, 3.7271, 15.1499)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47246E #4B6E24
analogous
#24266E #47246E #6C246E
triadic
#47246E #6E4724 #246E47
tetradic
#47246E #6E2426 #4B6E24 #246E6C
square
#47246E #6E2426 #4B6E24 #246E6C
split-complementary
#47246E #6E6C24 #266E24
monochromatic
#0F0817 #291540 #47246E #65339C #8349C3

Accessibility & contrast

On white

12.03
#47246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47246E
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47246E#FFFFFF#000000##FFFFFF
##47246E1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#09366C
Tritanopia (blue-blind)
#3F3445
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #47246e;
/* rgb */ color: rgb(71, 36, 110);
/* oklch */ color: oklch(34.8% 0.123 302.1);
Tailwind
colors: {
  custom: {
    50: '#7e6198',
    500: '#47246e',
    950: '#000000',
  },
}
SCSS
$custom: #47246e;
$custom-light: #7e6198;
$custom-dark: #000000;
JSON
{
  "hex": "#47246e",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 268.378,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34815,
    "c": 0.12346,
    "h": 302.1
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#47246E
secondary
#79A14D
accent
#DA4E98
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #47246E

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

Preview Lab → · Contrast checker → · Palette generator →

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