#4D1064#4D1064

#4D1064 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.140 H 314.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#4D1064
RGBrgb(77, 16, 100)
HSLhsl(284, 72%, 23%)
HSVhsv(284, 84%, 39%)
CMYKcmyk(23%, 84%, 0%, 60.8%)
CIE-LABlab(19.51, 40.87, -35.50)
CIE-LCHlch(19.51, 54.13, 319.02°)
OKLaboklab(32.45% 0.0982 -0.1003)
OKLCHoklch(32.45% 0.14 314.4)
XYZxyz(5.5457, 2.8687, 12.3157)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1064 #276410
analogous
#231064 #4D1064 #641051
triadic
#4D1064 #644D10 #10644D
tetradic
#4D1064 #642310 #276410 #105164
square
#4D1064 #642310 #276410 #105164
split-complementary
#4D1064 #516410 #106423
monochromatic
#14041A #24082F #4D1064 #761899 #9E21CE

Accessibility & contrast

On white

13.35
#4D1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4D1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1064
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1064#FFFFFF#000000##FFFFFF
##4D10641.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#093162
Tritanopia (blue-blind)
#4B243A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1064;
/* rgb */ color: rgb(77, 16, 100);
/* oklch */ color: oklch(32.5% 0.140 314.4);
Tailwind
colors: {
  custom: {
    50: '#825791',
    500: '#4d1064',
    950: '#000000',
  },
}
SCSS
$custom: #4d1064;
$custom-light: #825791;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1064",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 283.571,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32452,
    "c": 0.14038,
    "h": 314.4
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#4D1064
secondary
#509D33
accent
#EF396B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4D1064

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

Preview Lab → · Contrast checker → · Palette generator →

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