#4D1957#4D1957

#4D1957 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.116 H 320.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#4D1957
RGBrgb(77, 25, 87)
HSLhsl(290, 55%, 22%)
HSVhsv(290, 71%, 34%)
CMYKcmyk(11.5%, 71.3%, 0%, 65.9%)
CIE-LABlab(19.89, 34.24, -26.25)
CIE-LCHlch(19.89, 43.15, 322.52°)
OKLaboklab(32.42% 0.0899 -0.0733)
OKLCHoklch(32.42% 0.116 320.8)
XYZxyz(5.1283, 2.9614, 9.3165)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1957 #235719
analogous
#2E1957 #4D1957 #571942
triadic
#4D1957 #574D19 #19574D
tetradic
#4D1957 #572E19 #235719 #194257
square
#4D1957 #572E19 #235719 #194257
split-complementary
#4D1957 #425719 #19572E
monochromatic
#150718 #230B27 #4D1957 #772787 #A134B6

Accessibility & contrast

On white

13.19
#4D1957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4D1957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1957
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1957#FFFFFF#000000##FFFFFF
##4D19571.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C59
Deuteranopia (green-blind)
#1F3255
Tritanopia (blue-blind)
#4E2435
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1957;
/* rgb */ color: rgb(77, 25, 87);
/* oklch */ color: oklch(32.4% 0.116 320.8);
Tailwind
colors: {
  custom: {
    50: '#815a87',
    500: '#4d1957',
    950: '#000000',
  },
}
SCSS
$custom: #4d1957;
$custom-light: #815a87;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1957",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 290.323,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32419,
    "c": 0.116,
    "h": 320.8
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#4D1957
secondary
#4B8D3E
accent
#DF4961
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1957

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

Preview Lab → · Contrast checker → · Palette generator →

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