#4D1664#4D1664

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

Color values

HEX#4D1664
RGBrgb(77, 22, 100)
HSLhsl(282, 64%, 24%)
HSVhsv(282, 78%, 39%)
CMYKcmyk(23%, 78%, 0%, 60.8%)
CIE-LABlab(20.33, 38.51, -34.17)
CIE-LCHlch(20.33, 51.49, 318.42°)
OKLaboklab(33.03% 0.0924 -0.0965)
OKLCHoklch(33.03% 0.134 313.7)
XYZxyz(5.6473, 3.0719, 12.3496)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1664 #2D6416
analogous
#261664 #4D1664 #641654
triadic
#4D1664 #644D16 #16644D
tetradic
#4D1664 #642616 #2D6416 #165464
square
#4D1664 #642616 #2D6416 #165464
split-complementary
#4D1664 #546416 #166426
monochromatic
#130619 #260B32 #4D1664 #742196 #9A2CC8

Accessibility & contrast

On white

13.01
#4D1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1664
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1664#FFFFFF#000000##FFFFFF
##4D16641.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#103262
Tritanopia (blue-blind)
#4B273C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1664;
/* rgb */ color: rgb(77, 22, 100);
/* oklch */ color: oklch(33.0% 0.134 313.7);
Tailwind
colors: {
  custom: {
    50: '#825991',
    500: '#4d1664',
    950: '#000000',
  },
}
SCSS
$custom: #4d1664;
$custom-light: #825991;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1664",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 282.308,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3303,
    "c": 0.13355,
    "h": 313.7
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#4D1664
secondary
#579B3B
accent
#E74172
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4D1664

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

Preview Lab → · Contrast checker → · Palette generator →

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