#4D1E76#4D1E76

#4D1E76 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.143 H 304.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#4D1E76
RGBrgb(77, 30, 118)
HSLhsl(272, 59%, 29%)
HSVhsv(272, 75%, 46%)
CMYKcmyk(34.7%, 74.6%, 0%, 53.7%)
CIE-LABlab(23.05, 39.20, -41.45)
CIE-LCHlch(23.05, 57.04, 313.40°)
OKLaboklab(35.41% 0.0806 -0.1179)
OKLCHoklch(35.41% 0.143 304.4)
XYZxyz(6.7941, 3.8144, 17.5143)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E76 #47761E
analogous
#211E76 #4D1E76 #761E73
triadic
#4D1E76 #764D1E #1E764D
tetradic
#4D1E76 #76211E #47761E #1E7376
square
#4D1E76 #76211E #47761E #1E7376
split-complementary
#4D1E76 #73761E #1E7621
monochromatic
#100618 #2D1245 #4D1E76 #6D2AA7 #8C40CE

Accessibility & contrast

On white

11.91
#4D1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4D1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E76
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E76#FFFFFF#000000##FFFFFF
##4D1E761.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#453348
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4d1e76;
/* rgb */ color: rgb(77, 30, 118);
/* oklch */ color: oklch(35.4% 0.143 304.4);
Tailwind
colors: {
  custom: {
    50: '#835e9e',
    500: '#4d1e76',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e76;
$custom-light: #835e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e76",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 272.045,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35407,
    "c": 0.14281,
    "h": 304.4
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#4D1E76
secondary
#74AA46
accent
#E3458F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4D1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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