#4D1D73#4D1D73

#4D1D73 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.141 H 305.8°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#4D1D73
RGBrgb(77, 29, 115)
HSLhsl(273, 60%, 28%)
HSVhsv(273, 75%, 45%)
CMYKcmyk(33%, 74.8%, 0%, 54.9%)
CIE-LABlab(22.63, 38.92, -40.19)
CIE-LCHlch(22.63, 55.95, 314.08°)
OKLaboklab(35.04% 0.0822 -0.1142)
OKLCHoklch(35.04% 0.141 305.8)
XYZxyz(6.5938, 3.6944, 16.5820)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1D73 #43731D
analogous
#221D73 #4D1D73 #731D6E
triadic
#4D1D73 #734D1D #1D734D
tetradic
#4D1D73 #73221D #43731D #1D6E73
square
#4D1D73 #73221D #43731D #1D6E73
split-complementary
#4D1D73 #6E731D #1D7322
monochromatic
#100618 #2C1142 #4D1D73 #6E29A4 #8E3CCE

Accessibility & contrast

On white

12.08
#4D1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4D1D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1D73
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1D73#FFFFFF#000000##FFFFFF
##4D1D731.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1d73;
/* rgb */ color: rgb(77, 29, 115);
/* oklch */ color: oklch(35.0% 0.141 305.8);
Tailwind
colors: {
  custom: {
    50: '#835e9c',
    500: '#4d1d73',
    950: '#000000',
  },
}
SCSS
$custom: #4d1d73;
$custom-light: #835e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1d73",
  "rgb": {
    "r": 77,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 273.488,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35037,
    "c": 0.14073,
    "h": 305.8
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#4D1D73
secondary
#70A745
accent
#E3458B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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