#4A116A#4A116A

#4A116A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.144 H 309.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4A116A
RGBrgb(74, 17, 106)
HSLhsl(278, 72%, 24%)
HSVhsv(278, 84%, 42%)
CMYKcmyk(30.2%, 84%, 0%, 58.4%)
CIE-LABlab(19.63, 41.28, -39.27)
CIE-LCHlch(19.63, 56.97, 316.43°)
OKLaboklab(32.59% 0.0915 -0.1115)
OKLCHoklch(32.59% 0.144 309.4)
XYZxyz(5.6255, 2.8975, 13.8958)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A116A #316A11
analogous
#1E116A #4A116A #6A115E
triadic
#4A116A #6A4A11 #116A4A
tetradic
#4A116A #6A1E11 #316A11 #115E6A
square
#4A116A #6A1E11 #316A11 #115E6A
split-complementary
#4A116A #5E6A11 #116A1E
monochromatic
#12041A #250935 #4A116A #6F199F #9422D3

Accessibility & contrast

On white

13.30
#4A116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4A116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A116A
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A116A#FFFFFF#000000##FFFFFF
##4A116A1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a116a;
/* rgb */ color: rgb(74, 17, 106);
/* oklch */ color: oklch(32.6% 0.144 309.4);
Tailwind
colors: {
  custom: {
    50: '#815795',
    500: '#4a116a',
    950: '#000000',
  },
}
SCSS
$custom: #4a116a;
$custom-light: #815795;
$custom-dark: #000000;
JSON
{
  "hex": "#4a116a",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 278.427,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32588,
    "c": 0.14427,
    "h": 309.4
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#4A116A
secondary
#5CA235
accent
#EF397A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A116A

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

Preview Lab → · Contrast checker → · Palette generator →

#4A116A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva