#4D1367#4D1367

#4D1367 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.140 H 312.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#4D1367
RGBrgb(77, 19, 103)
HSLhsl(281, 69%, 24%)
HSVhsv(281, 82%, 40%)
CMYKcmyk(25.2%, 81.6%, 0%, 59.6%)
CIE-LABlab(20.14, 40.42, -36.46)
CIE-LCHlch(20.14, 54.44, 317.95°)
OKLaboklab(32.97% 0.0948 -0.1032)
OKLCHoklch(32.97% 0.14 312.6)
XYZxyz(5.7412, 3.0230, 13.1104)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1367 #2D6713
analogous
#231367 #4D1367 #671357
triadic
#4D1367 #674D13 #13674D
tetradic
#4D1367 #672313 #2D6713 #135767
square
#4D1367 #672313 #2D6713 #135767
split-complementary
#4D1367 #576713 #136723
monochromatic
#13051A #260933 #4D1367 #741D9B #9A26CE

Accessibility & contrast

On white

13.09
#4D1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1367
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1367#FFFFFF#000000##FFFFFF
##4D13671.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#063265
Tritanopia (blue-blind)
#4A273D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1367;
/* rgb */ color: rgb(77, 19, 103);
/* oklch */ color: oklch(33.0% 0.140 312.6);
Tailwind
colors: {
  custom: {
    50: '#825893',
    500: '#4d1367',
    950: '#000000',
  },
}
SCSS
$custom: #4d1367;
$custom-light: #825893;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1367",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 281.429,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32967,
    "c": 0.14013,
    "h": 312.6
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#4D1367
secondary
#579E37
accent
#EC3C72
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1367

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

Preview Lab → · Contrast checker → · Palette generator →

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