#4A1E9B#4A1E9B

#4A1E9B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.184 H 291.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4A1E9B
RGBrgb(74, 30, 155)
HSLhsl(261, 68%, 36%)
HSVhsv(261, 81%, 61%)
CMYKcmyk(52.3%, 80.6%, 0%, 39.2%)
CIE-LABlab(26.01, 48.51, -59.75)
CIE-LCHlch(26.01, 76.96, 309.07°)
OKLaboklab(38.43% 0.0659 -0.1717)
OKLCHoklch(38.43% 0.184 291)
XYZxyz(9.2030, 4.7506, 31.4360)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E9B #6F9B1E
analogous
#1E319B #4A1E9B #891E9B
triadic
#4A1E9B #9B4A1E #1E9B4A
tetradic
#4A1E9B #9B1E31 #6F9B1E #1E9B89
square
#4A1E9B #9B1E31 #6F9B1E #1E9B89
split-complementary
#4A1E9B #9B891E #319B1E
monochromatic
#190A34 #321468 #4A1E9B #6228CE #8555DE

Accessibility & contrast

On white

10.77
#4A1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4A1E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E9B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E9B#FFFFFF#000000##FFFFFF
##4A1E9B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#2D425D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a1e9b;
/* rgb */ color: rgb(74, 30, 155);
/* oklch */ color: oklch(38.4% 0.184 291.0);
Tailwind
colors: {
  custom: {
    50: '#8660ba',
    500: '#4a1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e9b;
$custom-light: #8660ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e9b",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 261.12,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3843,
    "c": 0.18395,
    "h": 291
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#4A1E9B
secondary
#9BC253
accent
#EA3DAE
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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