#4D1062#4D1062

#4D1062 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.3% C 0.138 H 315.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#4D1062
RGBrgb(77, 16, 98)
HSLhsl(285, 72%, 22%)
HSVhsv(285, 84%, 38%)
CMYKcmyk(21.4%, 83.7%, 0%, 61.6%)
CIE-LABlab(19.35, 40.43, -34.44)
CIE-LCHlch(19.35, 53.11, 319.58°)
OKLaboklab(32.29% 0.0986 -0.0972)
OKLCHoklch(32.29% 0.138 315.4)
XYZxyz(5.4501, 2.8304, 11.8121)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1062 #256210
analogous
#241062 #4D1062 #62104E
triadic
#4D1062 #624D10 #10624D
tetradic
#4D1062 #622410 #256210 #104E62
square
#4D1062 #622410 #256210 #104E62
split-complementary
#4D1062 #4E6210 #106224
monochromatic
#15041A #24072D #4D1062 #761997 #A021CB

Accessibility & contrast

On white

13.41
#4D1062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1062
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1062#FFFFFF#000000##FFFFFF
##4D10621.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#0D3060
Tritanopia (blue-blind)
#4B2339
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1062;
/* rgb */ color: rgb(77, 16, 98);
/* oklch */ color: oklch(32.3% 0.138 315.4);
Tailwind
colors: {
  custom: {
    50: '#82578f',
    500: '#4d1062',
    950: '#000000',
  },
}
SCSS
$custom: #4d1062;
$custom-light: #82578f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1062",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 284.634,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3229,
    "c": 0.13846,
    "h": 315.4
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#4D1062
secondary
#4E9B33
accent
#EF3968
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D1062

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

Preview Lab → · Contrast checker → · Palette generator →

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