#4D1250#4D1250

#4D1250 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.119 H 325.9°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#4D1250
RGBrgb(77, 18, 80)
HSLhsl(297, 63%, 19%)
HSVhsv(297, 78%, 31%)
CMYKcmyk(3.7%, 77.5%, 0%, 68.6%)
CIE-LABlab(18.32, 35.91, -24.03)
CIE-LCHlch(18.32, 43.21, 326.21°)
OKLaboklab(31.15% 0.0985 -0.0668)
OKLCHoklch(31.15% 0.119 325.9)
XYZxyz(4.7247, 2.5899, 7.8389)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1250 #155012
analogous
#2E1250 #4D1250 #501234
triadic
#4D1250 #504D12 #12504D
tetradic
#4D1250 #502E12 #155012 #123450
square
#4D1250 #502E12 #155012 #123450
split-complementary
#4D1250 #345012 #12502E
monochromatic
#180619 #1D071E #4D1250 #7D1D82 #AD28B4

Accessibility & contrast

On white

13.83
#4D1250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4D1250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1250
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1250#FFFFFF#000000##FFFFFF
##4D12501.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042852
Deuteranopia (green-blind)
#202F4E
Tritanopia (blue-blind)
#4F1C2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1250;
/* rgb */ color: rgb(77, 18, 80);
/* oklch */ color: oklch(31.1% 0.119 325.9);
Tailwind
colors: {
  custom: {
    50: '#815781',
    500: '#4d1250',
    950: '#000000',
  },
}
SCSS
$custom: #4d1250;
$custom-light: #815781;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1250",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 297.097,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31145,
    "c": 0.11902,
    "h": 325.9
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#4D1250
secondary
#398935
accent
#E64149
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D1250

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

Preview Lab → · Contrast checker → · Palette generator →

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