#47126F#47126F

#47126F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.148 H 305.0°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#47126F
RGBrgb(71, 18, 111)
HSLhsl(274, 72%, 25%)
HSVhsv(274, 84%, 44%)
CMYKcmyk(36%, 83.8%, 0%, 56.5%)
CIE-LABlab(19.72, 41.55, -42.39)
CIE-LCHlch(19.72, 59.36, 314.43°)
OKLaboklab(32.69% 0.0847 -0.1208)
OKLCHoklch(32.69% 0.148 305)
XYZxyz(5.6834, 2.9199, 15.3000)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47126F #3A6F12
analogous
#19126F #47126F #6F1268
triadic
#47126F #6F4712 #126F47
tetradic
#47126F #6F1912 #3A6F12 #12686F
square
#47126F #6F1912 #3A6F12 #12686F
split-complementary
#47126F #686F12 #126F19
monochromatic
#11041A #25093A #47126F #691BA4 #8A23D8

Accessibility & contrast

On white

13.26
#47126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#47126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47126F
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47126F#FFFFFF#000000##FFFFFF
##47126F1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#3F2B41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #47126f;
/* rgb */ color: rgb(71, 18, 111);
/* oklch */ color: oklch(32.7% 0.148 305.0);
Tailwind
colors: {
  custom: {
    50: '#7f5799',
    500: '#47126f',
    950: '#000000',
  },
}
SCSS
$custom: #47126f;
$custom-light: #7f5799;
$custom-dark: #000000;
JSON
{
  "hex": "#47126f",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 274.194,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3269,
    "c": 0.14756,
    "h": 305
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#47126F
secondary
#67A637
accent
#EF3987
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #47126F

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

Preview Lab → · Contrast checker → · Palette generator →

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