#4D2D5B#4D2D5B

#4D2D5B is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.8% C 0.086 H 314.8°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4D2D5B
RGBrgb(77, 45, 91)
HSLhsl(282, 34%, 27%)
HSVhsv(282, 51%, 36%)
CMYKcmyk(15.4%, 50.5%, 0%, 64.3%)
CIE-LABlab(24.35, 23.89, -21.84)
CIE-LCHlch(24.35, 32.37, 317.56°)
OKLaboklab(35.77% 0.0603 -0.0606)
OKLCHoklch(35.77% 0.086 314.8)
XYZxyz(5.8870, 4.2100, 10.3980)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D5B #3B5B2D
analogous
#362D5B #4D2D5B #5B2D52
triadic
#4D2D5B #5B4D2D #2D5B4D
tetradic
#4D2D5B #5B362D #3B5B2D #2D525B
square
#4D2D5B #5B362D #3B5B2D #2D525B
split-complementary
#4D2D5B #525B2D #2D5B36
monochromatic
#110A14 #2A1932 #4D2D5B #704184 #9257AC

Accessibility & contrast

On white

11.40
#4D2D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4D2D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2D5B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D5B#FFFFFF#000000##FFFFFF
##4D2D5B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385D
Deuteranopia (green-blind)
#2D3B5A
Tritanopia (blue-blind)
#4C343F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d2d5b;
/* rgb */ color: rgb(77, 45, 91);
/* oklch */ color: oklch(35.8% 0.086 314.8);
Tailwind
colors: {
  custom: {
    50: '#806789',
    500: '#4d2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d5b;
$custom-light: #806789;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d5b",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 281.739,
    "s": 33.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35772,
    "c": 0.0855,
    "h": 314.8
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#4D2D5B
secondary
#678D57
accent
#CA5E7F
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4D2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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