#4D1480#4D1480

#4D1480 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.164 H 302.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#4D1480
RGBrgb(77, 20, 128)
HSLhsl(272, 73%, 29%)
HSVhsv(272, 84%, 50%)
CMYKcmyk(39.8%, 84.4%, 0%, 49.8%)
CIE-LABlab(22.43, 45.97, -48.81)
CIE-LCHlch(22.43, 67.05, 313.28°)
OKLaboklab(35.24% 0.0871 -0.1395)
OKLCHoklch(35.24% 0.164 302)
XYZxyz(7.2061, 3.6366, 20.7402)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1480 #478014
analogous
#171480 #4D1480 #80147D
triadic
#4D1480 #804D14 #14804D
tetradic
#4D1480 #801714 #478014 #147D80
square
#4D1480 #801714 #478014 #147D80
split-complementary
#4D1480 #7D8014 #148017
monochromatic
#10041A #2D0C4B #4D1480 #6D1CB5 #8C30DF

Accessibility & contrast

On white

12.16
#4D1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1480
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1480#FFFFFF#000000##FFFFFF
##4D14801.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#42334B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4d1480;
/* rgb */ color: rgb(77, 20, 128);
/* oklch */ color: oklch(35.2% 0.164 302.0);
Tailwind
colors: {
  custom: {
    50: '#855aa6',
    500: '#4d1480',
    950: '#000000',
  },
}
SCSS
$custom: #4d1480;
$custom-light: #855aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1480",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 271.667,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35244,
    "c": 0.16444,
    "h": 302
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#4D1480
secondary
#74B53B
accent
#F0388F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4D1480

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

Preview Lab → · Contrast checker → · Palette generator →

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