#4D1468#4D1468

#4D1468 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.140 H 312.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4D1468
RGBrgb(77, 20, 104)
HSLhsl(281, 68%, 24%)
HSVhsv(281, 81%, 41%)
CMYKcmyk(26%, 80.8%, 0%, 59.2%)
CIE-LABlab(20.35, 40.26, -36.76)
CIE-LCHlch(20.35, 54.52, 317.60°)
OKLaboklab(33.15% 0.0937 -0.1041)
OKLCHoklch(33.15% 0.14 312)
XYZxyz(5.8090, 3.0777, 13.3821)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1468 #2F6814
analogous
#231468 #4D1468 #681459
triadic
#4D1468 #684D14 #14684D
tetradic
#4D1468 #682314 #2F6814 #145968
square
#4D1468 #682314 #2F6814 #145968
split-complementary
#4D1468 #596814 #146823
monochromatic
#13051A #270A35 #4D1468 #731E9B #9928CF

Accessibility & contrast

On white

13.00
#4D1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4D1468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1468
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1468#FFFFFF#000000##FFFFFF
##4D14681.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#063266
Tritanopia (blue-blind)
#4A283D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1468;
/* rgb */ color: rgb(77, 20, 104);
/* oklch */ color: oklch(33.1% 0.140 312.0);
Tailwind
colors: {
  custom: {
    50: '#825994',
    500: '#4d1468',
    950: '#000000',
  },
}
SCSS
$custom: #4d1468;
$custom-light: #825994;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1468",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 280.714,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33145,
    "c": 0.14001,
    "h": 312
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#4D1468
secondary
#5A9F39
accent
#EB3D75
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1468

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

Preview Lab → · Contrast checker → · Palette generator →

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