#4D1E95#4D1E95

#4D1E95 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.177 H 294.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#4D1E95
RGBrgb(77, 30, 149)
HSLhsl(264, 66%, 35%)
HSVhsv(264, 80%, 58%)
CMYKcmyk(48.3%, 79.9%, 0%, 41.6%)
CIE-LABlab(25.79, 47.33, -56.42)
CIE-LCHlch(25.79, 73.64, 309.99°)
OKLaboklab(38.18% 0.0726 -0.1619)
OKLCHoklch(38.18% 0.177 294.2)
XYZxyz(8.9482, 4.6760, 28.8590)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E95 #66951E
analogous
#1E2B95 #4D1E95 #881E95
triadic
#4D1E95 #954D1E #1E954D
tetradic
#4D1E95 #951E2B #66951E #1E9588
square
#4D1E95 #951E2B #66951E #1E9588
split-complementary
#4D1E95 #95881E #2B951E
monochromatic
#18092F #331462 #4D1E95 #6728C8 #8851DC

Accessibility & contrast

On white

10.85
#4D1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4D1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E95
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E95#FFFFFF#000000##FFFFFF
##4D1E951.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#374059
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d1e95;
/* rgb */ color: rgb(77, 30, 149);
/* oklch */ color: oklch(38.2% 0.177 294.2);
Tailwind
colors: {
  custom: {
    50: '#8760b5',
    500: '#4d1e95',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e95;
$custom-light: #8760b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e95",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 263.697,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38182,
    "c": 0.1774,
    "h": 294.2
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#4D1E95
secondary
#93BF50
accent
#E93EA6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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