#4A1E95#4A1E95

#4A1E95 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.177 H 292.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4A1E95
RGBrgb(74, 30, 149)
HSLhsl(262, 66%, 35%)
HSVhsv(262, 80%, 58%)
CMYKcmyk(50.3%, 79.9%, 0%, 41.6%)
CIE-LABlab(25.42, 46.88, -57.03)
CIE-LCHlch(25.42, 73.83, 309.42°)
OKLaboklab(37.84% 0.0679 -0.1638)
OKLCHoklch(37.84% 0.177 292.5)
XYZxyz(8.7116, 4.5540, 28.8479)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E95 #69951E
analogous
#1E2D95 #4A1E95 #851E95
triadic
#4A1E95 #954A1E #1E954A
tetradic
#4A1E95 #951E2D #69951E #1E9585
square
#4A1E95 #951E2D #69951E #1E9585
split-complementary
#4A1E95 #95851E #2D951E
monochromatic
#17092F #311462 #4A1E95 #6328C8 #8551DC

Accessibility & contrast

On white

10.99
#4A1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1E95
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E95#FFFFFF#000000##FFFFFF
##4A1E951.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#314059
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a1e95;
/* rgb */ color: rgb(74, 30, 149);
/* oklch */ color: oklch(37.8% 0.177 292.5);
Tailwind
colors: {
  custom: {
    50: '#8560b5',
    500: '#4a1e95',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e95;
$custom-light: #8560b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e95",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 262.185,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37844,
    "c": 0.17728,
    "h": 292.5
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#4A1E95
secondary
#96BF50
accent
#E93EAA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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