#4D1D93#4D1D93

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

Color values

HEX#4D1D93
RGBrgb(77, 29, 147)
HSLhsl(264, 67%, 35%)
HSVhsv(264, 80%, 58%)
CMYKcmyk(47.6%, 80.3%, 0%, 42.4%)
CIE-LABlab(25.45, 47.23, -55.74)
CIE-LCHlch(25.45, 73.06, 310.27°)
OKLaboklab(37.89% 0.074 -0.1599)
OKLCHoklch(37.89% 0.176 294.8)
XYZxyz(8.7650, 4.5628, 28.0170)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1D93 #63931D
analogous
#1D2893 #4D1D93 #881D93
triadic
#4D1D93 #934D1D #1D934D
tetradic
#4D1D93 #931D28 #63931D #1D9388
square
#4D1D93 #931D28 #63931D #1D9388
split-complementary
#4D1D93 #93881D #28931D
monochromatic
#17092D #321360 #4D1D93 #6827C6 #884EDC

Accessibility & contrast

On white

10.98
#4D1D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4D1D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1D93
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1D93#FFFFFF#000000##FFFFFF
##4D1D931.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#383E58
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d1d93;
/* rgb */ color: rgb(77, 29, 147);
/* oklch */ color: oklch(37.9% 0.176 294.8);
Tailwind
colors: {
  custom: {
    50: '#865fb4',
    500: '#4d1d93',
    950: '#000000',
  },
}
SCSS
$custom: #4d1d93;
$custom-light: #865fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1d93",
  "rgb": {
    "r": 77,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 264.407,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37888,
    "c": 0.17617,
    "h": 294.8
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#4D1D93
secondary
#90BF4D
accent
#EA3EA4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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