#4A1996#4A1996

#4A1996 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.183 H 292.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4A1996
RGBrgb(74, 25, 150)
HSLhsl(264, 71%, 34%)
HSVhsv(264, 83%, 59%)
CMYKcmyk(50.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(24.81, 49.24, -58.67)
CIE-LCHlch(24.81, 76.59, 310.01°)
OKLaboklab(37.45% 0.0711 -0.1685)
OKLCHoklch(37.45% 0.183 292.9)
XYZxyz(8.6751, 4.3528, 29.2313)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1996 #659619
analogous
#192796 #4A1996 #891996
triadic
#4A1996 #964A19 #19964A
tetradic
#4A1996 #961927 #659619 #199689
square
#4A1996 #961927 #659619 #199689
split-complementary
#4A1996 #968919 #279619
monochromatic
#16082D #301062 #4A1996 #6422CA #8449E1

Accessibility & contrast

On white

11.23
#4A1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4A1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1996
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1996#FFFFFF#000000##FFFFFF
##4A19961.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#313E59
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a1996;
/* rgb */ color: rgb(74, 25, 150);
/* oklch */ color: oklch(37.4% 0.183 292.9);
Tailwind
colors: {
  custom: {
    50: '#855db6',
    500: '#4a1996',
    950: '#000000',
  },
}
SCSS
$custom: #4a1996;
$custom-light: #855db6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1996",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 263.52,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37445,
    "c": 0.18288,
    "h": 292.9
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#4A1996
secondary
#93C249
accent
#EE3AA7
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1996

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

Preview Lab → · Contrast checker → · Palette generator →

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