#4A1E85#4A1E85

#4A1E85 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.159 H 297.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#4A1E85
RGBrgb(74, 30, 133)
HSLhsl(266, 63%, 32%)
HSVhsv(266, 77%, 52%)
CMYKcmyk(44.4%, 77.4%, 0%, 47.8%)
CIE-LABlab(23.93, 42.56, -49.54)
CIE-LCHlch(23.93, 65.31, 310.67°)
OKLaboklab(36.34% 0.0726 -0.1418)
OKLCHoklch(36.34% 0.159 297.1)
XYZxyz(7.5208, 4.0777, 22.5766)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E85 #59851E
analogous
#1E2685 #4A1E85 #7E1E85
triadic
#4A1E85 #854A1E #1E854A
tetradic
#4A1E85 #851E26 #59851E #1E857E
square
#4A1E85 #851E26 #59851E #1E857E
split-complementary
#4A1E85 #857E1E #26851E
monochromatic
#120721 #2E1353 #4A1E85 #6629B7 #8448D6

Accessibility & contrast

On white

11.57
#4A1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4A1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E85
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E85#FFFFFF#000000##FFFFFF
##4A1E851.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#3B3950
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a1e85;
/* rgb */ color: rgb(74, 30, 133);
/* oklch */ color: oklch(36.3% 0.159 297.1);
Tailwind
colors: {
  custom: {
    50: '#835fa9',
    500: '#4a1e85',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e85;
$custom-light: #835fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e85",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 265.631,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36338,
    "c": 0.15926,
    "h": 297.1
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

primary
#4A1E85
secondary
#88B847
accent
#E642A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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