#47126A#47126A

#47126A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.142 H 307.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#47126A
RGBrgb(71, 18, 106)
HSLhsl(276, 71%, 24%)
HSVhsv(276, 83%, 42%)
CMYKcmyk(33%, 83%, 0%, 58.4%)
CIE-LABlab(19.28, 40.34, -39.86)
CIE-LCHlch(19.28, 56.71, 315.35°)
OKLaboklab(32.24% 0.0861 -0.1134)
OKLCHoklch(32.24% 0.142 307.2)
XYZxyz(5.4158, 2.8129, 13.8905)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47126A #356A12
analogous
#1B126A #47126A #6A1261
triadic
#47126A #6A4712 #126A47
tetradic
#47126A #6A1B12 #356A12 #12616A
square
#47126A #6A1B12 #356A12 #12616A
split-complementary
#47126A #616A12 #126A1B
monochromatic
#12041A #240936 #47126A #6A1B9E #8D24D3

Accessibility & contrast

On white

13.44
#47126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#47126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47126A
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47126A#FFFFFF#000000##FFFFFF
##47126A1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#41293E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #47126a;
/* rgb */ color: rgb(71, 18, 106);
/* oklch */ color: oklch(32.2% 0.142 307.2);
Tailwind
colors: {
  custom: {
    50: '#7e5795',
    500: '#47126a',
    950: '#000000',
  },
}
SCSS
$custom: #47126a;
$custom-light: #7e5795;
$custom-dark: #000000;
JSON
{
  "hex": "#47126a",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 276.136,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32244,
    "c": 0.14238,
    "h": 307.2
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#47126A
secondary
#61A236
accent
#EE3A82
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #47126A

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

Preview Lab → · Contrast checker → · Palette generator →

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