#4D1965#4D1965

#4D1965 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.131 H 312.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#4D1965
RGBrgb(77, 25, 101)
HSLhsl(281, 60%, 25%)
HSVhsv(281, 75%, 40%)
CMYKcmyk(23.8%, 75.2%, 0%, 60.4%)
CIE-LABlab(20.88, 37.41, -33.95)
CIE-LCHlch(20.88, 50.51, 317.77°)
OKLaboklab(33.44% 0.0889 -0.0958)
OKLCHoklch(33.44% 0.131 312.8)
XYZxyz(5.7567, 3.2128, 12.6263)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1965 #316519
analogous
#271965 #4D1965 #651957
triadic
#4D1965 #654D19 #19654D
tetradic
#4D1965 #652719 #316519 #195765
square
#4D1965 #652719 #316519 #195765
split-complementary
#4D1965 #576519 #196527
monochromatic
#130619 #280D34 #4D1965 #722596 #9831C7

Accessibility & contrast

On white

12.78
#4D1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4D1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1965
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1965#FFFFFF#000000##FFFFFF
##4D19651.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#123363
Tritanopia (blue-blind)
#4A293D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1965;
/* rgb */ color: rgb(77, 25, 101);
/* oklch */ color: oklch(33.4% 0.131 312.8);
Tailwind
colors: {
  custom: {
    50: '#825b91',
    500: '#4d1965',
    950: '#000000',
  },
}
SCSS
$custom: #4d1965;
$custom-light: #825b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1965",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 281.053,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33443,
    "c": 0.13072,
    "h": 312.8
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#4D1965
secondary
#5C9B3F
accent
#E34477
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1965

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

Preview Lab → · Contrast checker → · Palette generator →

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