#4D1663#4D1663

#4D1663 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.133 H 314.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#4D1663
RGBrgb(77, 22, 99)
HSLhsl(283, 64%, 24%)
HSVhsv(283, 78%, 39%)
CMYKcmyk(22.2%, 77.8%, 0%, 61.2%)
CIE-LABlab(20.25, 38.29, -33.64)
CIE-LCHlch(20.25, 50.97, 318.70°)
OKLaboklab(32.95% 0.0925 -0.0949)
OKLCHoklch(32.95% 0.133 314.3)
XYZxyz(5.5992, 3.0526, 12.0962)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1663 #2C6316
analogous
#261663 #4D1663 #631652
triadic
#4D1663 #634D16 #16634D
tetradic
#4D1663 #632616 #2C6316 #165263
square
#4D1663 #632616 #2C6316 #165263
split-complementary
#4D1663 #526316 #166326
monochromatic
#130619 #260B31 #4D1663 #742195 #9B2CC7

Accessibility & contrast

On white

13.04
#4D1663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4D1663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1663
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1663#FFFFFF#000000##FFFFFF
##4D16631.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#113261
Tritanopia (blue-blind)
#4B273B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1663;
/* rgb */ color: rgb(77, 22, 99);
/* oklch */ color: oklch(33.0% 0.133 314.3);
Tailwind
colors: {
  custom: {
    50: '#825990',
    500: '#4d1663',
    950: '#000000',
  },
}
SCSS
$custom: #4d1663;
$custom-light: #825990;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1663",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 282.857,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32952,
    "c": 0.13252,
    "h": 314.3
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#4D1663
secondary
#569A3B
accent
#E74170
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1663

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

Preview Lab → · Contrast checker → · Palette generator →

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