#4D1071#4D1071

#4D1071 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.153 H 308.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#4D1071
RGBrgb(77, 16, 113)
HSLhsl(278, 75%, 25%)
HSVhsv(278, 86%, 44%)
CMYKcmyk(31.9%, 85.8%, 0%, 55.7%)
CIE-LABlab(20.60, 43.80, -42.21)
CIE-LCHlch(20.60, 60.83, 316.06°)
OKLaboklab(33.55% 0.0949 -0.12)
OKLCHoklch(33.55% 0.153 308.3)
XYZxyz(6.2259, 3.1407, 15.8978)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1071 #347110
analogous
#1C1071 #4D1071 #711064
triadic
#4D1071 #714D10 #10714D
tetradic
#4D1071 #711C10 #347110 #106471
square
#4D1071 #711C10 #347110 #106471
split-complementary
#4D1071 #647110 #10711C
monochromatic
#12041B #28083B #4D1071 #7218A7 #961FDC

Accessibility & contrast

On white

12.90
#4D1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4D1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1071
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1071#FFFFFF#000000##FFFFFF
##4D10711.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#472A42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1071;
/* rgb */ color: rgb(77, 16, 113);
/* oklch */ color: oklch(33.6% 0.153 308.3);
Tailwind
colors: {
  custom: {
    50: '#83589b',
    500: '#4d1071',
    950: '#000000',
  },
}
SCSS
$custom: #4d1071;
$custom-light: #83589b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1071",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 277.732,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33554,
    "c": 0.15302,
    "h": 308.3
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#4D1071
secondary
#5FA934
accent
#F2367C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1071

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

Preview Lab → · Contrast checker → · Palette generator →

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