#4A1E96#4A1E96

#4A1E96 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.178 H 292.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#4A1E96
RGBrgb(74, 30, 150)
HSLhsl(262, 67%, 35%)
HSVhsv(262, 80%, 59%)
CMYKcmyk(50.7%, 80%, 0%, 41.2%)
CIE-LABlab(25.52, 47.15, -57.49)
CIE-LCHlch(25.52, 74.35, 309.36°)
OKLaboklab(37.94% 0.0676 -0.1651)
OKLCHoklch(37.94% 0.178 292.3)
XYZxyz(8.7918, 4.5861, 29.2702)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E96 #6A961E
analogous
#1E2E96 #4A1E96 #861E96
triadic
#4A1E96 #964A1E #1E964A
tetradic
#4A1E96 #961E2E #6A961E #1E9686
square
#4A1E96 #961E2E #6A961E #1E9686
split-complementary
#4A1E96 #96861E #2E961E
monochromatic
#180A30 #311463 #4A1E96 #6328C9 #8552DC

Accessibility & contrast

On white

10.95
#4A1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4A1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E96
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E96#FFFFFF#000000##FFFFFF
##4A1E961.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#31405A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a1e96;
/* rgb */ color: rgb(74, 30, 150);
/* oklch */ color: oklch(37.9% 0.178 292.3);
Tailwind
colors: {
  custom: {
    50: '#8560b6',
    500: '#4a1e96',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e96;
$custom-light: #8560b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e96",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 262,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37941,
    "c": 0.17839,
    "h": 292.3
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#4A1E96
secondary
#97BF50
accent
#EA3EAB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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