#4A1E8E#4A1E8E

#4A1E8E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.169 H 294.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#4A1E8E
RGBrgb(74, 30, 142)
HSLhsl(264, 65%, 34%)
HSVhsv(264, 79%, 56%)
CMYKcmyk(47.9%, 78.9%, 0%, 44.3%)
CIE-LABlab(24.76, 44.99, -53.80)
CIE-LCHlch(24.76, 70.13, 309.90°)
OKLaboklab(37.17% 0.07 -0.1543)
OKLCHoklch(37.17% 0.169 294.4)
XYZxyz(8.1695, 4.3371, 25.9927)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E8E #628E1E
analogous
#1E2A8E #4A1E8E #821E8E
triadic
#4A1E8E #8E4A1E #1E8E4A
tetradic
#4A1E8E #8E1E2A #628E1E #1E8E82
square
#4A1E8E #8E1E2A #628E1E #1E8E82
split-complementary
#4A1E8E #8E821E #2A8E1E
monochromatic
#150929 #30135B #4A1E8E #6429C1 #844DD9

Accessibility & contrast

On white

11.25
#4A1E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1E8E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E8E#FFFFFF#000000##FFFFFF
##4A1E8E1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#363D55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a1e8e;
/* rgb */ color: rgb(74, 30, 142);
/* oklch */ color: oklch(37.2% 0.169 294.4);
Tailwind
colors: {
  custom: {
    50: '#845fb0',
    500: '#4a1e8e',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e8e;
$custom-light: #845fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e8e",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 263.571,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37174,
    "c": 0.16943,
    "h": 294.4
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#4A1E8E
secondary
#90BC4C
accent
#E840A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A1E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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