#4D1358#4D1358

#4D1358 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.125 H 320.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#4D1358
RGBrgb(77, 19, 88)
HSLhsl(290, 64%, 21%)
HSVhsv(290, 78%, 35%)
CMYKcmyk(12.5%, 78.4%, 0%, 65.5%)
CIE-LABlab(19.01, 37.14, -28.33)
CIE-LCHlch(19.01, 46.71, 322.66°)
OKLaboklab(31.81% 0.097 -0.0793)
OKLCHoklch(31.81% 0.125 320.7)
XYZxyz(5.0547, 2.7484, 9.4949)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1358 #1E5813
analogous
#2A1358 #4D1358 #581340
triadic
#4D1358 #584D13 #13584D
tetradic
#4D1358 #582A13 #1E5813 #134058
square
#4D1358 #582A13 #1E5813 #134058
split-complementary
#4D1358 #405813 #13582A
monochromatic
#160519 #210826 #4D1358 #791E8A #A529BD

Accessibility & contrast

On white

13.55
#4D1358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4D1358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1358
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1358#FFFFFF#000000##FFFFFF
##4D13581.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#1A3056
Tritanopia (blue-blind)
#4E2034
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1358;
/* rgb */ color: rgb(77, 19, 88);
/* oklch */ color: oklch(31.8% 0.125 320.7);
Tailwind
colors: {
  custom: {
    50: '#825787',
    500: '#4d1358',
    950: '#000000',
  },
}
SCSS
$custom: #4d1358;
$custom-light: #825787;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1358",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 290.435,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31809,
    "c": 0.12533,
    "h": 320.7
  },
  "luminance": 0.02748
}

Semantic roles & 50–950 ramp

primary
#4D1358
secondary
#459037
accent
#E7405B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1358

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

Preview Lab → · Contrast checker → · Palette generator →

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