#4D1E94#4D1E94

#4D1E94 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.176 H 294.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#4D1E94
RGBrgb(77, 30, 148)
HSLhsl(264, 66%, 35%)
HSVhsv(264, 80%, 58%)
CMYKcmyk(48%, 79.7%, 0%, 42%)
CIE-LABlab(25.70, 47.06, -55.96)
CIE-LCHlch(25.70, 73.11, 310.06°)
OKLaboklab(38.09% 0.0729 -0.1605)
OKLCHoklch(38.09% 0.176 294.4)
XYZxyz(8.8687, 4.6442, 28.4404)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E94 #65941E
analogous
#1E2A94 #4D1E94 #881E94
triadic
#4D1E94 #944D1E #1E944D
tetradic
#4D1E94 #941E2A #65941E #1E9488
square
#4D1E94 #941E2A #65941E #1E9488
split-complementary
#4D1E94 #94881E #2A941E
monochromatic
#18092E #331461 #4D1E94 #6728C7 #8851DC

Accessibility & contrast

On white

10.89
#4D1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4D1E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E94
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E94#FFFFFF#000000##FFFFFF
##4D1E941.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#383F59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d1e94;
/* rgb */ color: rgb(77, 30, 148);
/* oklch */ color: oklch(38.1% 0.176 294.4);
Tailwind
colors: {
  custom: {
    50: '#8760b4',
    500: '#4d1e94',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e94;
$custom-light: #8760b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e94",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 263.898,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38087,
    "c": 0.1763,
    "h": 294.4
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#4D1E94
secondary
#92BF4F
accent
#E93FA5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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