#4A1EA0#4A1EA0

#4A1EA0 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.189 H 289.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4A1EA0
RGBrgb(74, 30, 160)
HSLhsl(260, 68%, 37%)
HSVhsv(260, 81%, 63%)
CMYKcmyk(53.7%, 81.3%, 0%, 37.3%)
CIE-LABlab(26.51, 49.87, -61.98)
CIE-LCHlch(26.51, 79.55, 308.82°)
OKLaboklab(38.93% 0.0643 -0.1782)
OKLCHoklch(38.93% 0.189 289.8)
XYZxyz(9.6316, 4.9220, 33.6934)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1EA0 #74A01E
analogous
#1E33A0 #4A1EA0 #8B1EA0
triadic
#4A1EA0 #A04A1E #1EA04A
tetradic
#4A1EA0 #A01E33 #74A01E #1EA08B
square
#4A1EA0 #A01E33 #74A01E #1EA08B
split-complementary
#4A1EA0 #A08B1E #33A01E
monochromatic
#1A0B39 #32146C #4A1EA0 #6228D4 #8659E0

Accessibility & contrast

On white

10.58
#4A1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4A1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1EA0
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1EA0#FFFFFF#000000##FFFFFF
##4A1EA01.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#294460
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a1ea0;
/* rgb */ color: rgb(74, 30, 160);
/* oklch */ color: oklch(38.9% 0.189 289.8);
Tailwind
colors: {
  custom: {
    50: '#8760bd',
    500: '#4a1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4a1ea0;
$custom-light: #8760bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1ea0",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 260.308,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38927,
    "c": 0.18949,
    "h": 289.8
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#4A1EA0
secondary
#9FC456
accent
#EB3DB0
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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