#4A1D96#4A1D96

#4A1D96 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.179 H 292.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4A1D96
RGBrgb(74, 29, 150)
HSLhsl(262, 68%, 35%)
HSVhsv(262, 81%, 59%)
CMYKcmyk(50.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(25.37, 47.59, -57.74)
CIE-LCHlch(25.37, 74.82, 309.50°)
OKLaboklab(37.84% 0.0683 -0.1658)
OKLCHoklch(37.84% 0.179 292.4)
XYZxyz(8.7669, 4.5363, 29.2619)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1D96 #69961D
analogous
#1D2C96 #4A1D96 #861D96
triadic
#4A1D96 #964A1D #1D964A
tetradic
#4A1D96 #961D2C #69961D #1D9686
square
#4A1D96 #961D2C #69961D #1D9686
split-complementary
#4A1D96 #96861D #2C961D
monochromatic
#17092F #311363 #4A1D96 #6327C9 #8550DD

Accessibility & contrast

On white

11.01
#4A1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4A1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1D96
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1D96#FFFFFF#000000##FFFFFF
##4A1D961.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.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: #4a1d96;
/* rgb */ color: rgb(74, 29, 150);
/* oklch */ color: oklch(37.8% 0.179 292.4);
Tailwind
colors: {
  custom: {
    50: '#855fb6',
    500: '#4a1d96',
    950: '#000000',
  },
}
SCSS
$custom: #4a1d96;
$custom-light: #855fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1d96",
  "rgb": {
    "r": 74,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 262.314,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37836,
    "c": 0.17934,
    "h": 292.4
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#4A1D96
secondary
#96C04F
accent
#EA3DAA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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