#4A1166#4A1166

#4A1166 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.140 H 311.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#4A1166
RGBrgb(74, 17, 102)
HSLhsl(280, 71%, 23%)
HSVhsv(280, 83%, 40%)
CMYKcmyk(27.5%, 83.3%, 0%, 60%)
CIE-LABlab(19.29, 40.36, -37.19)
CIE-LCHlch(19.29, 54.88, 317.34°)
OKLaboklab(32.25% 0.0925 -0.1054)
OKLCHoklch(32.25% 0.14 311.3)
XYZxyz(5.4223, 2.8162, 12.8257)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1166 #2D6611
analogous
#1F1166 #4A1166 #661157
triadic
#4A1166 #664A11 #11664A
tetradic
#4A1166 #661F11 #2D6611 #115766
square
#4A1166 #661F11 #2D6611 #115766
split-complementary
#4A1166 #576611 #11661F
monochromatic
#13041A #240832 #4A1166 #701A9A #9622CF

Accessibility & contrast

On white

13.43
#4A1166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4A1166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1166
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1166#FFFFFF#000000##FFFFFF
##4A11661.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#003064
Tritanopia (blue-blind)
#46263C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1166;
/* rgb */ color: rgb(74, 17, 102);
/* oklch */ color: oklch(32.2% 0.140 311.3);
Tailwind
colors: {
  custom: {
    50: '#805792',
    500: '#4a1166',
    950: '#000000',
  },
}
SCSS
$custom: #4a1166;
$custom-light: #805792;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1166",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 280.235,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32248,
    "c": 0.14027,
    "h": 311.3
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#4A1166
secondary
#579E35
accent
#EE3A75
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4A1166

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

Preview Lab → · Contrast checker → · Palette generator →

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