#4A116E#4A116E

#4A116E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.148 H 307.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#4A116E
RGBrgb(74, 17, 110)
HSLhsl(277, 73%, 25%)
HSVhsv(277, 85%, 43%)
CMYKcmyk(32.7%, 84.5%, 0%, 56.9%)
CIE-LABlab(19.97, 42.22, -41.31)
CIE-LCHlch(19.97, 59.07, 315.63°)
OKLaboklab(32.94% 0.0904 -0.1175)
OKLCHoklch(32.94% 0.148 307.6)
XYZxyz(5.8384, 2.9826, 15.0170)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A116E #356E11
analogous
#1B116E #4A116E #6E1164
triadic
#4A116E #6E4A11 #116E4A
tetradic
#4A116E #6E1B11 #356E11 #11646E
square
#4A116E #6E1B11 #356E11 #11646E
split-complementary
#4A116E #646E11 #116E1B
monochromatic
#12041B #260939 #4A116E #6E19A3 #9121D8

Accessibility & contrast

On white

13.15
#4A116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A116E
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A116E#FFFFFF#000000##FFFFFF
##4A116E1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#442A40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a116e;
/* rgb */ color: rgb(74, 17, 110);
/* oklch */ color: oklch(32.9% 0.148 307.6);
Tailwind
colors: {
  custom: {
    50: '#815798',
    500: '#4a116e',
    950: '#000000',
  },
}
SCSS
$custom: #4a116e;
$custom-light: #815798;
$custom-dark: #000000;
JSON
{
  "hex": "#4a116e",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 276.774,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32938,
    "c": 0.14828,
    "h": 307.6
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#4A116E
secondary
#61A535
accent
#F0387F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A116E

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

Preview Lab → · Contrast checker → · Palette generator →

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