#4E1E77#4E1E77

#4E1E77 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.144 H 304.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#4E1E77
RGBrgb(78, 30, 119)
HSLhsl(272, 60%, 29%)
HSVhsv(272, 75%, 47%)
CMYKcmyk(34.5%, 74.8%, 0%, 53.3%)
CIE-LABlab(23.27, 39.66, -41.72)
CIE-LCHlch(23.27, 57.56, 313.55°)
OKLaboklab(35.62% 0.0819 -0.1186)
OKLCHoklch(35.62% 0.144 304.6)
XYZxyz(6.9352, 3.8802, 17.8328)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E77 #47771E
analogous
#221E77 #4E1E77 #771E74
triadic
#4E1E77 #774E1E #1E774E
tetradic
#4E1E77 #77221E #47771E #1E7477
square
#4E1E77 #77221E #47771E #1E7477
split-complementary
#4E1E77 #74771E #1E7722
monochromatic
#100618 #2E1246 #4E1E77 #6E2AA8 #8D40CF

Accessibility & contrast

On white

11.82
#4E1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E77
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E77#FFFFFF#000000##FFFFFF
##4E1E771.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#463348
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e1e77;
/* rgb */ color: rgb(78, 30, 119);
/* oklch */ color: oklch(35.6% 0.144 304.6);
Tailwind
colors: {
  custom: {
    50: '#845f9f',
    500: '#4e1e77',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e77;
$custom-light: #845f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e77",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 272.36,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35621,
    "c": 0.14417,
    "h": 304.6
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#4E1E77
secondary
#74AB46
accent
#E3458E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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