#4D1C70#4D1C70

#4D1C70 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.139 H 307.2°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#4D1C70
RGBrgb(77, 28, 112)
HSLhsl(275, 60%, 27%)
HSVhsv(275, 75%, 44%)
CMYKcmyk(31.2%, 75%, 0%, 56.1%)
CIE-LABlab(22.22, 38.65, -38.93)
CIE-LCHlch(22.22, 54.86, 314.80°)
OKLaboklab(34.67% 0.0838 -0.1105)
OKLCHoklch(34.67% 0.139 307.2)
XYZxyz(6.3998, 3.5782, 15.6796)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1C70 #3F701C
analogous
#231C70 #4D1C70 #701C69
triadic
#4D1C70 #704D1C #1C704D
tetradic
#4D1C70 #70231C #3F701C #1C6970
square
#4D1C70 #70231C #3F701C #1C6970
split-complementary
#4D1C70 #69701C #1C7023
monochromatic
#110618 #2B103F #4D1C70 #6F28A1 #9039CD

Accessibility & contrast

On white

12.24
#4D1C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4D1C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1C70
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1C70#FFFFFF#000000##FFFFFF
##4D1C701.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#01366E
Tritanopia (blue-blind)
#472F44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4d1c70;
/* rgb */ color: rgb(77, 28, 112);
/* oklch */ color: oklch(34.7% 0.139 307.2);
Tailwind
colors: {
  custom: {
    50: '#835d9a',
    500: '#4d1c70',
    950: '#000000',
  },
}
SCSS
$custom: #4d1c70;
$custom-light: #835d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1c70",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 275,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34671,
    "c": 0.1387,
    "h": 307.2
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#4D1C70
secondary
#6CA543
accent
#E34587
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1C70

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

Preview Lab → · Contrast checker → · Palette generator →

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