#4A1C96#4A1C96

#4A1C96 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.180 H 292.5°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#4A1C96
RGBrgb(74, 28, 150)
HSLhsl(263, 69%, 35%)
HSVhsv(263, 81%, 59%)
CMYKcmyk(50.7%, 81.3%, 0%, 41.2%)
CIE-LABlab(25.22, 48.02, -57.98)
CIE-LCHlch(25.22, 75.28, 309.63°)
OKLaboklab(37.73% 0.069 -0.1665)
OKLCHoklch(37.73% 0.18 292.5)
XYZxyz(8.7428, 4.4880, 29.2539)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1C96 #68961C
analogous
#1C2B96 #4A1C96 #871C96
triadic
#4A1C96 #964A1C #1C964A
tetradic
#4A1C96 #961C2B #68961C #1C9687
square
#4A1C96 #961C2B #68961C #1C9687
split-complementary
#4A1C96 #96871C #2B961C
monochromatic
#17092F #311262 #4A1C96 #6326CA #854EDE

Accessibility & contrast

On white

11.07
#4A1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4A1C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1C96
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1C96#FFFFFF#000000##FFFFFF
##4A1C961.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#313F59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a1c96;
/* rgb */ color: rgb(74, 28, 150);
/* oklch */ color: oklch(37.7% 0.180 292.5);
Tailwind
colors: {
  custom: {
    50: '#855fb6',
    500: '#4a1c96',
    950: '#000000',
  },
}
SCSS
$custom: #4a1c96;
$custom-light: #855fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1c96",
  "rgb": {
    "r": 74,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 262.623,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37734,
    "c": 0.18026,
    "h": 292.5
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#4A1C96
secondary
#95C14D
accent
#EB3CA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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