#4A1E88#4A1E88

#4A1E88 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.163 H 296.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#4A1E88
RGBrgb(74, 30, 136)
HSLhsl(265, 64%, 33%)
HSVhsv(265, 78%, 53%)
CMYKcmyk(45.6%, 77.9%, 0%, 46.7%)
CIE-LABlab(24.20, 43.37, -50.97)
CIE-LCHlch(24.20, 66.92, 310.39°)
OKLaboklab(36.61% 0.0717 -0.146)
OKLCHoklch(36.61% 0.163 296.2)
XYZxyz(7.7311, 4.1618, 23.6838)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E88 #5C881E
analogous
#1E2788 #4A1E88 #7F1E88
triadic
#4A1E88 #884A1E #1E884A
tetradic
#4A1E88 #881E27 #5C881E #1E887F
square
#4A1E88 #881E27 #5C881E #1E887F
split-complementary
#4A1E88 #887F1E #27881E
monochromatic
#130824 #2F1356 #4A1E88 #6529BA #8449D7

Accessibility & contrast

On white

11.46
#4A1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4A1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E88
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E88#FFFFFF#000000##FFFFFF
##4A1E881.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#393B52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a1e88;
/* rgb */ color: rgb(74, 30, 136);
/* oklch */ color: oklch(36.6% 0.163 296.2);
Tailwind
colors: {
  custom: {
    50: '#835fac',
    500: '#4a1e88',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e88;
$custom-light: #835fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e88",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 264.906,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36614,
    "c": 0.16266,
    "h": 296.2
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#4A1E88
secondary
#8AB949
accent
#E741A2
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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