#47126C#47126C

#47126C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.144 H 306.3°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#47126C
RGBrgb(71, 18, 108)
HSLhsl(275, 71%, 25%)
HSVhsv(275, 83%, 42%)
CMYKcmyk(34.3%, 83.3%, 0%, 57.6%)
CIE-LABlab(19.45, 40.82, -40.88)
CIE-LCHlch(19.45, 57.77, 314.96°)
OKLaboklab(32.42% 0.0856 -0.1164)
OKLCHoklch(32.42% 0.144 306.3)
XYZxyz(5.5210, 2.8550, 14.4447)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47126C #376C12
analogous
#1A126C #47126C #6C1264
triadic
#47126C #6C4712 #126C47
tetradic
#47126C #6C1A12 #376C12 #12646C
square
#47126C #6C1A12 #376C12 #12646C
split-complementary
#47126C #646C12 #126C1A
monochromatic
#11041A #250938 #47126C #691BA0 #8C23D5

Accessibility & contrast

On white

13.37
#47126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#47126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47126C
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47126C#FFFFFF#000000##FFFFFF
##47126C1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#402A3F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #47126c;
/* rgb */ color: rgb(71, 18, 108);
/* oklch */ color: oklch(32.4% 0.144 306.3);
Tailwind
colors: {
  custom: {
    50: '#7f5797',
    500: '#47126c',
    950: '#000000',
  },
}
SCSS
$custom: #47126c;
$custom-light: #7f5797;
$custom-dark: #000000;
JSON
{
  "hex": "#47126c",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 275.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32421,
    "c": 0.14446,
    "h": 306.3
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#47126C
secondary
#63A336
accent
#EE3A84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #47126C

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

Preview Lab → · Contrast checker → · Palette generator →

#47126C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva