#4D1066#4D1066

#4D1066 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.142 H 313.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#4D1066
RGBrgb(77, 16, 102)
HSLhsl(283, 73%, 23%)
HSVhsv(283, 84%, 40%)
CMYKcmyk(24.5%, 84.3%, 0%, 60%)
CIE-LABlab(19.67, 41.31, -36.55)
CIE-LCHlch(19.67, 55.16, 318.50°)
OKLaboklab(32.62% 0.0978 -0.1034)
OKLCHoklch(32.62% 0.142 313.4)
XYZxyz(5.6437, 2.9079, 12.8318)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1066 #296610
analogous
#221066 #4D1066 #661054
triadic
#4D1066 #664D10 #10664D
tetradic
#4D1066 #662210 #296610 #105466
square
#4D1066 #662210 #296610 #105466
split-complementary
#4D1066 #546610 #106622
monochromatic
#14041A #250831 #4D1066 #75189B #9D21D0

Accessibility & contrast

On white

13.28
#4D1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4D1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1066
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1066#FFFFFF#000000##FFFFFF
##4D10661.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#053164
Tritanopia (blue-blind)
#4A253B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1066;
/* rgb */ color: rgb(77, 16, 102);
/* oklch */ color: oklch(32.6% 0.142 313.4);
Tailwind
colors: {
  custom: {
    50: '#825792',
    500: '#4d1066',
    950: '#000000',
  },
}
SCSS
$custom: #4d1066;
$custom-light: #825792;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1066",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 282.558,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32615,
    "c": 0.14231,
    "h": 313.4
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#4D1066
secondary
#529E33
accent
#F0386E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4D1066

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

Preview Lab → · Contrast checker → · Palette generator →

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