#4D1665#4D1665

#4D1665 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.135 H 313.2°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#4D1665
RGBrgb(77, 22, 101)
HSLhsl(282, 64%, 24%)
HSVhsv(282, 78%, 40%)
CMYKcmyk(23.8%, 78.2%, 0%, 60.4%)
CIE-LABlab(20.41, 38.74, -34.71)
CIE-LCHlch(20.41, 52.01, 318.14°)
OKLaboklab(33.11% 0.0922 -0.098)
OKLCHoklch(33.11% 0.135 313.2)
XYZxyz(5.6960, 3.0914, 12.6060)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1665 #2E6516
analogous
#261665 #4D1665 #651656
triadic
#4D1665 #654D16 #16654D
tetradic
#4D1665 #652616 #2E6516 #165665
square
#4D1665 #652616 #2E6516 #165665
split-complementary
#4D1665 #566516 #166526
monochromatic
#130519 #270B33 #4D1665 #732197 #9A2CCA

Accessibility & contrast

On white

12.98
#4D1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4D1665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1665
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1665#FFFFFF#000000##FFFFFF
##4D16651.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#0E3263
Tritanopia (blue-blind)
#4A283C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1665;
/* rgb */ color: rgb(77, 22, 101);
/* oklch */ color: oklch(33.1% 0.135 313.2);
Tailwind
colors: {
  custom: {
    50: '#825a91',
    500: '#4d1665',
    950: '#000000',
  },
}
SCSS
$custom: #4d1665;
$custom-light: #825a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1665",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 281.772,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33109,
    "c": 0.13458,
    "h": 313.2
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#4D1665
secondary
#589C3B
accent
#E74173
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1665

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

Preview Lab → · Contrast checker → · Palette generator →

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