#4A116F#4A116F

#4A116F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.149 H 307.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#4A116F
RGBrgb(74, 17, 111)
HSLhsl(276, 73%, 25%)
HSVhsv(276, 85%, 44%)
CMYKcmyk(33.3%, 84.7%, 0%, 56.5%)
CIE-LABlab(20.06, 42.46, -41.81)
CIE-LCHlch(20.06, 59.59, 315.44°)
OKLaboklab(33.03% 0.0901 -0.119)
OKLCHoklch(33.03% 0.149 307.1)
XYZxyz(5.8931, 3.0045, 15.3053)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A116F #366F11
analogous
#1B116F #4A116F #6F1165
triadic
#4A116F #6F4A11 #116F4A
tetradic
#4A116F #6F1B11 #366F11 #11656F
square
#4A116F #6F1B11 #366F11 #11656F
split-complementary
#4A116F #656F11 #116F1B
monochromatic
#12041B #27093A #4A116F #6D19A4 #9121D9

Accessibility & contrast

On white

13.12
#4A116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4A116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A116F
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A116F#FFFFFF#000000##FFFFFF
##4A116F1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#442A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a116f;
/* rgb */ color: rgb(74, 17, 111);
/* oklch */ color: oklch(33.0% 0.149 307.1);
Tailwind
colors: {
  custom: {
    50: '#815799',
    500: '#4a116f',
    950: '#000000',
  },
}
SCSS
$custom: #4a116f;
$custom-light: #815799;
$custom-dark: #000000;
JSON
{
  "hex": "#4a116f",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 276.383,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33026,
    "c": 0.14929,
    "h": 307.1
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#4A116F
secondary
#62A635
accent
#F03880
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A116F

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

Preview Lab → · Contrast checker → · Palette generator →

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