#4D1366#4D1366

#4D1366 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.139 H 313.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#4D1366
RGBrgb(77, 19, 102)
HSLhsl(282, 69%, 24%)
HSVhsv(282, 81%, 40%)
CMYKcmyk(24.5%, 81.4%, 0%, 60%)
CIE-LABlab(20.06, 40.20, -35.93)
CIE-LCHlch(20.06, 53.92, 318.21°)
OKLaboklab(32.89% 0.095 -0.1016)
OKLCHoklch(32.89% 0.139 313.1)
XYZxyz(5.6913, 3.0030, 12.8476)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1366 #2C6613
analogous
#231366 #4D1366 #661355
triadic
#4D1366 #664D13 #13664D
tetradic
#4D1366 #662313 #2C6613 #135566
square
#4D1366 #662313 #2C6613 #135566
split-complementary
#4D1366 #556613 #136623
monochromatic
#13051A #260932 #4D1366 #741D9A #9B26CD

Accessibility & contrast

On white

13.12
#4D1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4D1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1366
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1366#FFFFFF#000000##FFFFFF
##4D13661.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#083264
Tritanopia (blue-blind)
#4A273C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1366;
/* rgb */ color: rgb(77, 19, 102);
/* oklch */ color: oklch(32.9% 0.139 313.1);
Tailwind
colors: {
  custom: {
    50: '#825892',
    500: '#4d1366',
    950: '#000000',
  },
}
SCSS
$custom: #4d1366;
$custom-light: #825892;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1366",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 281.928,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32886,
    "c": 0.13913,
    "h": 313.1
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#4D1366
secondary
#569D37
accent
#EB3C71
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1366

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

Preview Lab → · Contrast checker → · Palette generator →

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