#4D1081#4D1081

#4D1081 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 35.0% C 0.169 H 302.0°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#4D1081
RGBrgb(77, 16, 129)
HSLhsl(272, 78%, 28%)
HSVhsv(272, 88%, 51%)
CMYKcmyk(40.3%, 87.6%, 0%, 49.4%)
CIE-LABlab(22.06, 47.56, -50.05)
CIE-LCHlch(22.06, 69.04, 313.54°)
OKLaboklab(35.02% 0.0895 -0.1431)
OKLCHoklch(35.02% 0.169 302)
XYZxyz(7.2073, 3.5333, 21.0669)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1081 #448110
analogous
#141081 #4D1081 #81107C
triadic
#4D1081 #814D10 #10814D
tetradic
#4D1081 #811410 #448110 #107C81
square
#4D1081 #811410 #448110 #107C81
split-complementary
#4D1081 #7C8110 #108114
monochromatic
#10031B #2C094B #4D1081 #6D17B7 #8D27E4

Accessibility & contrast

On white

12.31
#4D1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4D1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1081
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1081#FFFFFF#000000##FFFFFF
##4D10811.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#41324B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4d1081;
/* rgb */ color: rgb(77, 16, 129);
/* oklch */ color: oklch(35.0% 0.169 302.0);
Tailwind
colors: {
  custom: {
    50: '#8559a7',
    500: '#4d1081',
    950: '#000000',
  },
}
SCSS
$custom: #4d1081;
$custom-light: #8559a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1081",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 272.389,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35019,
    "c": 0.16877,
    "h": 302
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#4D1081
secondary
#71B736
accent
#F4338C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4D1081

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

Preview Lab → · Contrast checker → · Palette generator →

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