#4A1E9E#4A1E9E

#4A1E9E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.187 H 290.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#4A1E9E
RGBrgb(74, 30, 158)
HSLhsl(261, 68%, 37%)
HSVhsv(261, 81%, 62%)
CMYKcmyk(53.2%, 81%, 0%, 38%)
CIE-LABlab(26.31, 49.33, -61.09)
CIE-LCHlch(26.31, 78.52, 308.92°)
OKLaboklab(38.73% 0.0649 -0.1756)
OKLCHoklch(38.73% 0.187 290.3)
XYZxyz(9.4581, 4.8526, 32.7794)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E9E #729E1E
analogous
#1E329E #4A1E9E #8A1E9E
triadic
#4A1E9E #9E4A1E #1E9E4A
tetradic
#4A1E9E #9E1E32 #729E1E #1E9E8A
square
#4A1E9E #9E1E32 #729E1E #1E9E8A
split-complementary
#4A1E9E #9E8A1E #329E1E
monochromatic
#1A0A37 #32146B #4A1E9E #6228D1 #8657DF

Accessibility & contrast

On white

10.66
#4A1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4A1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E9E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E9E#FFFFFF#000000##FFFFFF
##4A1E9E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#2B445F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a1e9e;
/* rgb */ color: rgb(74, 30, 158);
/* oklch */ color: oklch(38.7% 0.187 290.3);
Tailwind
colors: {
  custom: {
    50: '#8660bc',
    500: '#4a1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e9e;
$custom-light: #8660bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e9e",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 260.625,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38728,
    "c": 0.18727,
    "h": 290.3
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#4A1E9E
secondary
#9DC355
accent
#EB3DAF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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