#4D1C95#4D1C95

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

Color values

HEX#4D1C95
RGBrgb(77, 28, 149)
HSLhsl(264, 68%, 35%)
HSVhsv(264, 81%, 58%)
CMYKcmyk(48.3%, 81.2%, 0%, 41.6%)
CIE-LABlab(25.50, 48.18, -56.90)
CIE-LCHlch(25.50, 74.56, 310.25°)
OKLaboklab(37.98% 0.0741 -0.1632)
OKLCHoklch(37.98% 0.179 294.4)
XYZxyz(8.8991, 4.5779, 28.8427)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1C95 #64951C
analogous
#1C2795 #4D1C95 #8A1C95
triadic
#4D1C95 #954D1C #1C954D
tetradic
#4D1C95 #951C27 #64951C #1C958A
square
#4D1C95 #951C27 #64951C #1C958A
split-complementary
#4D1C95 #958A1C #27951C
monochromatic
#18092E #321261 #4D1C95 #6826C9 #884EDE

Accessibility & contrast

On white

10.96
#4D1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4D1C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1C95
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1C95#FFFFFF#000000##FFFFFF
##4D1C951.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#373F59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d1c95;
/* rgb */ color: rgb(77, 28, 149);
/* oklch */ color: oklch(38.0% 0.179 294.4);
Tailwind
colors: {
  custom: {
    50: '#875fb5',
    500: '#4d1c95',
    950: '#000000',
  },
}
SCSS
$custom: #4d1c95;
$custom-light: #875fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1c95",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 264.298,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37978,
    "c": 0.17929,
    "h": 294.4
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

primary
#4D1C95
secondary
#91C04D
accent
#EB3DA4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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