#4D1150#4D1150

#4D1150 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.0% C 0.120 H 325.9°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#4D1150
RGBrgb(77, 17, 80)
HSLhsl(297, 65%, 19%)
HSVhsv(297, 79%, 31%)
CMYKcmyk(3.7%, 78.8%, 0%, 68.6%)
CIE-LABlab(18.18, 36.31, -24.25)
CIE-LCHlch(18.18, 43.67, 326.26°)
OKLaboklab(31.04% 0.0996 -0.0674)
OKLCHoklch(31.04% 0.12 325.9)
XYZxyz(4.7089, 2.5582, 7.8336)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1150 #145011
analogous
#2E1150 #4D1150 #501134
triadic
#4D1150 #504D11 #11504D
tetradic
#4D1150 #502E11 #145011 #113450
square
#4D1150 #502E11 #145011 #113450
split-complementary
#4D1150 #345011 #11502E
monochromatic
#180519 #1C061E #4D1150 #7E1C82 #AE26B5

Accessibility & contrast

On white

13.89
#4D1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D1150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1150
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1150#FFFFFF#000000##FFFFFF
##4D11501.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032852
Deuteranopia (green-blind)
#1F2F4E
Tritanopia (blue-blind)
#4F1B2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d1150;
/* rgb */ color: rgb(77, 17, 80);
/* oklch */ color: oklch(31.0% 0.120 325.9);
Tailwind
colors: {
  custom: {
    50: '#815681',
    500: '#4d1150',
    950: '#000000',
  },
}
SCSS
$custom: #4d1150;
$custom-light: #815681;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1150",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 297.143,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31044,
    "c": 0.1203,
    "h": 325.9
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#4D1150
secondary
#388933
accent
#E84048
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D1150

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

Preview Lab → · Contrast checker → · Palette generator →

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