#4A1466#4A1466

#4A1466 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.137 H 310.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#4A1466
RGBrgb(74, 20, 102)
HSLhsl(280, 67%, 24%)
HSVhsv(280, 80%, 40%)
CMYKcmyk(27.5%, 80.4%, 0%, 60%)
CIE-LABlab(19.70, 39.18, -36.53)
CIE-LCHlch(19.70, 53.56, 317.00°)
OKLaboklab(32.54% 0.0897 -0.1035)
OKLCHoklch(32.54% 0.137 310.9)
XYZxyz(5.4720, 2.9156, 12.8423)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1466 #306614
analogous
#211466 #4A1466 #661459
triadic
#4A1466 #664A14 #14664A
tetradic
#4A1466 #662114 #306614 #145966
square
#4A1466 #662114 #306614 #145966
split-complementary
#4A1466 #596614 #146621
monochromatic
#13051A #250A33 #4A1466 #6F1E99 #9428CC

Accessibility & contrast

On white

13.27
#4A1466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1466
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1466#FFFFFF#000000##FFFFFF
##4A14661.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#033164
Tritanopia (blue-blind)
#46283C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1466;
/* rgb */ color: rgb(74, 20, 102);
/* oklch */ color: oklch(32.5% 0.137 310.9);
Tailwind
colors: {
  custom: {
    50: '#805892',
    500: '#4a1466',
    950: '#000000',
  },
}
SCSS
$custom: #4a1466;
$custom-light: #805892;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1466",
  "rgb": {
    "r": 74,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 279.512,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32536,
    "c": 0.13695,
    "h": 310.9
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#4A1466
secondary
#5B9D39
accent
#EA3E79
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A1466

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

Preview Lab → · Contrast checker → · Palette generator →

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