#4A1E89#4A1E89

#4A1E89 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.164 H 295.9°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#4A1E89
RGBrgb(74, 30, 137)
HSLhsl(265, 64%, 33%)
HSVhsv(265, 78%, 54%)
CMYKcmyk(46%, 78.1%, 0%, 46.3%)
CIE-LABlab(24.29, 43.64, -51.45)
CIE-LCHlch(24.29, 67.46, 310.30°)
OKLaboklab(36.71% 0.0715 -0.1474)
OKLCHoklch(36.71% 0.164 295.9)
XYZxyz(7.8025, 4.1903, 24.0598)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E89 #5D891E
analogous
#1E2789 #4A1E89 #7F1E89
triadic
#4A1E89 #894A1E #1E894A
tetradic
#4A1E89 #891E27 #5D891E #1E897F
square
#4A1E89 #891E27 #5D891E #1E897F
split-complementary
#4A1E89 #897F1E #27891E
monochromatic
#140825 #2F1357 #4A1E89 #6529BB #844AD7

Accessibility & contrast

On white

11.42
#4A1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4A1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E89
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E89#FFFFFF#000000##FFFFFF
##4A1E891.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1e89;
/* rgb */ color: rgb(74, 30, 137);
/* oklch */ color: oklch(36.7% 0.164 295.9);
Tailwind
colors: {
  custom: {
    50: '#835fac',
    500: '#4a1e89',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e89;
$custom-light: #835fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e89",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 264.673,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36706,
    "c": 0.1638,
    "h": 295.9
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#4A1E89
secondary
#8BBA49
accent
#E741A3
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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