#4D1C73#4D1C73

#4D1C73 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.142 H 305.9°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#4D1C73
RGBrgb(77, 28, 115)
HSLhsl(274, 61%, 28%)
HSVhsv(274, 76%, 45%)
CMYKcmyk(33%, 75.7%, 0%, 54.9%)
CIE-LABlab(22.47, 39.40, -40.47)
CIE-LCHlch(22.47, 56.48, 314.23°)
OKLaboklab(34.92% 0.0833 -0.115)
OKLCHoklch(34.92% 0.142 305.9)
XYZxyz(6.5697, 3.6461, 16.5740)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1C73 #42731C
analogous
#211C73 #4D1C73 #731C6D
triadic
#4D1C73 #734D1C #1C734D
tetradic
#4D1C73 #73211C #42731C #1C6D73
square
#4D1C73 #73211C #42731C #1C6D73
split-complementary
#4D1C73 #6D731C #1C7321
monochromatic
#100619 #2C1042 #4D1C73 #6E28A4 #8E3ACF

Accessibility & contrast

On white

12.14
#4D1C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4D1C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1C73
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1C73#FFFFFF#000000##FFFFFF
##4D1C731.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#463146
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4d1c73;
/* rgb */ color: rgb(77, 28, 115);
/* oklch */ color: oklch(34.9% 0.142 305.9);
Tailwind
colors: {
  custom: {
    50: '#835d9c',
    500: '#4d1c73',
    950: '#000000',
  },
}
SCSS
$custom: #4d1c73;
$custom-light: #835d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1c73",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 273.793,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34917,
    "c": 0.14201,
    "h": 305.9
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#4D1C73
secondary
#6FA743
accent
#E4448A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1C73

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

Preview Lab → · Contrast checker → · Palette generator →

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