#4A1E80#4A1E80

#4A1E80 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.154 H 298.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#4A1E80
RGBrgb(74, 30, 128)
HSLhsl(267, 62%, 31%)
HSVhsv(267, 77%, 50%)
CMYKcmyk(42.2%, 76.6%, 0%, 49.8%)
CIE-LABlab(23.48, 41.22, -47.12)
CIE-LCHlch(23.48, 62.60, 311.18°)
OKLaboklab(35.89% 0.0738 -0.1347)
OKLCHoklch(35.89% 0.154 298.7)
XYZxyz(7.1836, 3.9428, 20.8005)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E80 #54801E
analogous
#1E2380 #4A1E80 #7B1E80
triadic
#4A1E80 #804A1E #1E804A
tetradic
#4A1E80 #801E23 #54801E #1E807B
square
#4A1E80 #801E23 #54801E #1E807B
split-complementary
#4A1E80 #807B1E #23801E
monochromatic
#11071D #2D124E #4A1E80 #672AB2 #8545D3

Accessibility & contrast

On white

11.74
#4A1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4A1E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E80
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E80#FFFFFF#000000##FFFFFF
##4A1E801.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#3D374D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a1e80;
/* rgb */ color: rgb(74, 30, 128);
/* oklch */ color: oklch(35.9% 0.154 298.7);
Tailwind
colors: {
  custom: {
    50: '#825fa6',
    500: '#4a1e80',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e80;
$custom-light: #825fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e80",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 266.939,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.15358,
    "h": 298.7
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#4A1E80
secondary
#82B347
accent
#E5439C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4A1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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