#4D1153#4D1153

#4D1153 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.123 H 324.0°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#4D1153
RGBrgb(77, 17, 83)
HSLhsl(295, 66%, 20%)
HSVhsv(295, 80%, 33%)
CMYKcmyk(7.2%, 79.5%, 0%, 67.5%)
CIE-LABlab(18.38, 36.91, -25.97)
CIE-LCHlch(18.38, 45.13, 324.87°)
OKLaboklab(31.25% 0.0995 -0.0724)
OKLCHoklch(31.25% 0.123 324)
XYZxyz(4.8222, 2.6035, 8.4305)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1153 #175311
analogous
#2C1153 #4D1153 #531138
triadic
#4D1153 #534D11 #11534D
tetradic
#4D1153 #532C11 #175311 #113853
square
#4D1153 #532C11 #175311 #113853
split-complementary
#4D1153 #385311 #11532C
monochromatic
#180519 #1E0720 #4D1153 #7C1B86 #AB26B9

Accessibility & contrast

On white

13.81
#4D1153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1153
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1153#FFFFFF#000000##FFFFFF
##4D11531.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#1D2F51
Tritanopia (blue-blind)
#4F1D31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1153;
/* rgb */ color: rgb(77, 17, 83);
/* oklch */ color: oklch(31.3% 0.123 324.0);
Tailwind
colors: {
  custom: {
    50: '#815684',
    500: '#4d1153',
    950: '#000000',
  },
}
SCSS
$custom: #4d1153;
$custom-light: #815684;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1153",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 294.545,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31252,
    "c": 0.12308,
    "h": 324
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#4D1153
secondary
#3C8C34
accent
#E93F4E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1153

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

Preview Lab → · Contrast checker → · Palette generator →

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