#4A1E77#4A1E77

#4A1E77 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.143 H 302.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#4A1E77
RGBrgb(74, 30, 119)
HSLhsl(270, 60%, 29%)
HSVhsv(270, 75%, 47%)
CMYKcmyk(37.8%, 74.8%, 0%, 53.3%)
CIE-LABlab(22.71, 38.84, -42.65)
CIE-LCHlch(22.71, 57.68, 312.32°)
OKLaboklab(35.1% 0.0759 -0.1216)
OKLCHoklch(35.1% 0.143 302)
XYZxyz(6.6173, 3.7163, 17.8179)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E77 #4B771E
analogous
#1E1E77 #4A1E77 #771E77
triadic
#4A1E77 #774A1E #1E774A
tetradic
#4A1E77 #771E1E #4B771E #1E7777
square
#4A1E77 #771E1E #4B771E #1E7777
split-complementary
#4A1E77 #77771E #1E771E
monochromatic
#0F0618 #2C1246 #4A1E77 #682AA8 #8740CF

Accessibility & contrast

On white

12.05
#4A1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4A1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E77
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E77#FFFFFF#000000##FFFFFF
##4A1E771.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#403448
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4a1e77;
/* rgb */ color: rgb(74, 30, 119);
/* oklch */ color: oklch(35.1% 0.143 302.0);
Tailwind
colors: {
  custom: {
    50: '#815e9f',
    500: '#4a1e77',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e77;
$custom-light: #815e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e77",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 269.663,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35102,
    "c": 0.14328,
    "h": 302
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#4A1E77
secondary
#79AB46
accent
#E34595
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4A1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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