#4D1362#4D1362

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

Color values

HEX#4D1362
RGBrgb(77, 19, 98)
HSLhsl(284, 68%, 23%)
HSVhsv(284, 81%, 38%)
CMYKcmyk(21.4%, 80.6%, 0%, 61.6%)
CIE-LABlab(19.74, 39.30, -33.80)
CIE-LCHlch(19.74, 51.84, 319.30°)
OKLaboklab(32.57% 0.0958 -0.0954)
OKLCHoklch(32.57% 0.135 315.1)
XYZxyz(5.4977, 2.9256, 11.8280)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1362 #286213
analogous
#261362 #4D1362 #62134F
triadic
#4D1362 #624D13 #13624D
tetradic
#4D1362 #622613 #286213 #134F62
square
#4D1362 #622613 #286213 #134F62
split-complementary
#4D1362 #4F6213 #136226
monochromatic
#14051A #25092F #4D1362 #751D95 #9E27C9

Accessibility & contrast

On white

13.25
#4D1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1362
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1362#FFFFFF#000000##FFFFFF
##4D13621.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#103160
Tritanopia (blue-blind)
#4B253A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1362;
/* rgb */ color: rgb(77, 19, 98);
/* oklch */ color: oklch(32.6% 0.135 315.1);
Tailwind
colors: {
  custom: {
    50: '#82588f',
    500: '#4d1362',
    950: '#000000',
  },
}
SCSS
$custom: #4d1362;
$custom-light: #82588f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1362",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 284.051,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32567,
    "c": 0.13515,
    "h": 315.1
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#4D1362
secondary
#519A37
accent
#EA3D6B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1362

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

Preview Lab → · Contrast checker → · Palette generator →

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