#4D1068#4D1068

#4D1068 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.8% C 0.144 H 312.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#4D1068
RGBrgb(77, 16, 104)
HSLhsl(282, 73%, 24%)
HSVhsv(282, 85%, 41%)
CMYKcmyk(26%, 84.6%, 0%, 59.2%)
CIE-LABlab(19.83, 41.76, -37.60)
CIE-LCHlch(19.83, 56.19, 318.00°)
OKLaboklab(32.78% 0.0973 -0.1065)
OKLCHoklch(32.78% 0.144 312.4)
XYZxyz(5.7441, 2.9480, 13.3605)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1068 #2B6810
analogous
#211068 #4D1068 #681057
triadic
#4D1068 #684D10 #10684D
tetradic
#4D1068 #682110 #2B6810 #105768
square
#4D1068 #682110 #2B6810 #105768
split-complementary
#4D1068 #576810 #106821
monochromatic
#14041B #260833 #4D1068 #74189D #9C20D2

Accessibility & contrast

On white

13.21
#4D1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4D1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1068
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1068#FFFFFF#000000##FFFFFF
##4D10681.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#013166
Tritanopia (blue-blind)
#4A263D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1068;
/* rgb */ color: rgb(77, 16, 104);
/* oklch */ color: oklch(32.8% 0.144 312.4);
Tailwind
colors: {
  custom: {
    50: '#835794',
    500: '#4d1068',
    950: '#000000',
  },
}
SCSS
$custom: #4d1068;
$custom-light: #835794;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1068",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 281.591,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32781,
    "c": 0.14426,
    "h": 312.4
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#4D1068
secondary
#55A034
accent
#F03870
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4D1068

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

Preview Lab → · Contrast checker → · Palette generator →

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