#4D1650#4D1650

#4D1650 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.113 H 325.7°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#4D1650
RGBrgb(77, 22, 80)
HSLhsl(297, 57%, 20%)
HSVhsv(297, 73%, 31%)
CMYKcmyk(3.7%, 72.5%, 0%, 68.6%)
CIE-LABlab(18.93, 34.18, -23.05)
CIE-LCHlch(18.93, 41.23, 326.00°)
OKLaboklab(31.59% 0.0937 -0.064)
OKLCHoklch(31.59% 0.113 325.7)
XYZxyz(4.7953, 2.7311, 7.8624)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1650 #195016
analogous
#301650 #4D1650 #501636
triadic
#4D1650 #504D16 #16504D
tetradic
#4D1650 #503016 #195016 #163650
square
#4D1650 #503016 #195016 #163650
split-complementary
#4D1650 #365016 #165030
monochromatic
#170718 #1F0920 #4D1650 #7B2380 #A930B0

Accessibility & contrast

On white

13.58
#4D1650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4D1650 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1650
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1650#FFFFFF#000000##FFFFFF
##4D16501.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2A52
Deuteranopia (green-blind)
#22304F
Tritanopia (blue-blind)
#4F1F31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1650;
/* rgb */ color: rgb(77, 22, 80);
/* oklch */ color: oklch(31.6% 0.113 325.7);
Tailwind
colors: {
  custom: {
    50: '#815981',
    500: '#4d1650',
    950: '#000000',
  },
}
SCSS
$custom: #4d1650;
$custom-light: #815981;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1650",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 296.897,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.31585,
    "c": 0.11346,
    "h": 325.7
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#4D1650
secondary
#3E873A
accent
#E04850
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4D1650

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

Preview Lab → · Contrast checker → · Palette generator →

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