#4D2155#4D2155

#4D2155 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.4% C 0.101 H 321.3°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#4D2155
RGBrgb(77, 33, 85)
HSLhsl(291, 44%, 23%)
HSVhsv(291, 61%, 33%)
CMYKcmyk(9.4%, 61.2%, 0%, 66.7%)
CIE-LABlab(21.29, 29.62, -22.69)
CIE-LCHlch(21.29, 37.31, 322.54°)
OKLaboklab(33.4% 0.0785 -0.063)
OKLCHoklch(33.4% 0.101 321.3)
XYZxyz(5.2439, 3.3216, 8.9575)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2155 #295521
analogous
#332155 #4D2155 #552143
triadic
#4D2155 #554D21 #21554D
tetradic
#4D2155 #553321 #295521 #214355
square
#4D2155 #553321 #295521 #214355
split-complementary
#4D2155 #435521 #215533
monochromatic
#140916 #251029 #4D2155 #753281 #9D43AD

Accessibility & contrast

On white

12.62
#4D2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4D2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2155
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2155#FFFFFF#000000##FFFFFF
##4D21551.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173057
Deuteranopia (green-blind)
#263554
Tritanopia (blue-blind)
#4E2937
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d2155;
/* rgb */ color: rgb(77, 33, 85);
/* oklch */ color: oklch(33.4% 0.101 321.3);
Tailwind
colors: {
  custom: {
    50: '#805f85',
    500: '#4d2155',
    950: '#000000',
  },
}
SCSS
$custom: #4d2155;
$custom-light: #805f85;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2155",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 290.769,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33395,
    "c": 0.10069,
    "h": 321.3
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#4D2155
secondary
#528949
accent
#D45468
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4D2155

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

Preview Lab → · Contrast checker → · Palette generator →

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