#4E1D77#4E1D77

#4E1D77 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.145 H 304.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#4E1D77
RGBrgb(78, 29, 119)
HSLhsl(273, 61%, 29%)
HSVhsv(273, 76%, 47%)
CMYKcmyk(34.5%, 75.6%, 0%, 53.3%)
CIE-LABlab(23.10, 40.14, -41.99)
CIE-LCHlch(23.10, 58.09, 313.71°)
OKLaboklab(35.5% 0.083 -0.1194)
OKLCHoklch(35.5% 0.145 304.8)
XYZxyz(6.9103, 3.8304, 17.8245)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D77 #46771D
analogous
#211D77 #4E1D77 #771D73
triadic
#4E1D77 #774E1D #1D774E
tetradic
#4E1D77 #77211D #46771D #1D7377
square
#4E1D77 #77211D #46771D #1D7377
split-complementary
#4E1D77 #73771D #1D7721
monochromatic
#100619 #2E1146 #4E1D77 #6E29A8 #8E3ED0

Accessibility & contrast

On white

11.89
#4E1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E1D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D77
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D77#FFFFFF#000000##FFFFFF
##4E1D771.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.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: #4e1d77;
/* rgb */ color: rgb(78, 29, 119);
/* oklch */ color: oklch(35.5% 0.145 304.8);
Tailwind
colors: {
  custom: {
    50: '#845e9f',
    500: '#4e1d77',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d77;
$custom-light: #845e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d77",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 272.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35502,
    "c": 0.14543,
    "h": 304.8
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#4E1D77
secondary
#73AB45
accent
#E4448D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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