#4A1E94#4A1E94

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

Color values

HEX#4A1E94
RGBrgb(74, 30, 148)
HSLhsl(262, 66%, 35%)
HSVhsv(262, 80%, 58%)
CMYKcmyk(50%, 79.7%, 0%, 42%)
CIE-LABlab(25.33, 46.61, -56.58)
CIE-LCHlch(25.33, 73.30, 309.48°)
OKLaboklab(37.75% 0.0682 -0.1624)
OKLCHoklch(37.75% 0.176 292.8)
XYZxyz(8.6321, 4.5222, 28.4293)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E94 #68941E
analogous
#1E2D94 #4A1E94 #851E94
triadic
#4A1E94 #944A1E #1E944A
tetradic
#4A1E94 #941E2D #68941E #1E9485
square
#4A1E94 #941E2D #68941E #1E9485
split-complementary
#4A1E94 #94851E #2D941E
monochromatic
#17092E #311461 #4A1E94 #6328C7 #8551DC

Accessibility & contrast

On white

11.03
#4A1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1E94
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E94#FFFFFF#000000##FFFFFF
##4A1E941.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#323F59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a1e94;
/* rgb */ color: rgb(74, 30, 148);
/* oklch */ color: oklch(37.7% 0.176 292.8);
Tailwind
colors: {
  custom: {
    50: '#8560b4',
    500: '#4a1e94',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e94;
$custom-light: #8560b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e94",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 262.373,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.17615,
    "h": 292.8
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#4A1E94
secondary
#95BF4F
accent
#E93FAA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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