#4A1E82#4A1E82

#4A1E82 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.156 H 298.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4A1E82
RGBrgb(74, 30, 130)
HSLhsl(266, 63%, 31%)
HSVhsv(266, 77%, 51%)
CMYKcmyk(43.1%, 76.9%, 0%, 49%)
CIE-LABlab(23.66, 41.75, -48.09)
CIE-LCHlch(23.66, 63.69, 310.97°)
OKLaboklab(36.07% 0.0733 -0.1375)
OKLCHoklch(36.07% 0.156 298.1)
XYZxyz(7.3165, 3.9960, 21.5006)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E82 #56821E
analogous
#1E2482 #4A1E82 #7C1E82
triadic
#4A1E82 #824A1E #1E824A
tetradic
#4A1E82 #821E24 #56821E #1E827C
square
#4A1E82 #821E24 #56821E #1E827C
split-complementary
#4A1E82 #827C1E #24821E
monochromatic
#11071F #2E1350 #4A1E82 #6629B4 #8546D4

Accessibility & contrast

On white

11.67
#4A1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4A1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E82
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E82#FFFFFF#000000##FFFFFF
##4A1E821.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#3C384E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a1e82;
/* rgb */ color: rgb(74, 30, 130);
/* oklch */ color: oklch(36.1% 0.156 298.1);
Tailwind
colors: {
  custom: {
    50: '#825fa7',
    500: '#4a1e82',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e82;
$custom-light: #825fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e82",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 266.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36066,
    "c": 0.15586,
    "h": 298.1
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#4A1E82
secondary
#85B547
accent
#E6429E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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