#4D1967#4D1967

#4D1967 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.6% C 0.133 H 311.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4D1967
RGBrgb(77, 25, 103)
HSLhsl(280, 61%, 25%)
HSVhsv(280, 76%, 40%)
CMYKcmyk(25.2%, 75.7%, 0%, 59.6%)
CIE-LABlab(21.03, 37.88, -35.01)
CIE-LCHlch(21.03, 51.58, 317.25°)
OKLaboklab(33.6% 0.0886 -0.099)
OKLCHoklch(33.6% 0.133 311.8)
XYZxyz(5.8559, 3.2525, 13.1486)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1967 #336719
analogous
#261967 #4D1967 #67195A
triadic
#4D1967 #674D19 #19674D
tetradic
#4D1967 #672619 #336719 #195A67
square
#4D1967 #672619 #336719 #195A67
split-complementary
#4D1967 #5A6719 #196726
monochromatic
#120619 #280D36 #4D1967 #722598 #9731C9

Accessibility & contrast

On white

12.72
#4D1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4D1967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1967
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1967#FFFFFF#000000##FFFFFF
##4D19671.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#0F3465
Tritanopia (blue-blind)
#4A2A3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d1967;
/* rgb */ color: rgb(77, 25, 103);
/* oklch */ color: oklch(33.6% 0.133 311.8);
Tailwind
colors: {
  custom: {
    50: '#825b93',
    500: '#4d1967',
    950: '#000000',
  },
}
SCSS
$custom: #4d1967;
$custom-light: #825b93;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1967",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 280,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.13285,
    "h": 311.8
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#4D1967
secondary
#5E9D3F
accent
#E44479
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1967

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

Preview Lab → · Contrast checker → · Palette generator →

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