#4D1163#4D1163

#4D1163 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.138 H 314.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#4D1163
RGBrgb(77, 17, 99)
HSLhsl(284, 71%, 23%)
HSVhsv(284, 83%, 39%)
CMYKcmyk(22.2%, 82.8%, 0%, 61.2%)
CIE-LABlab(19.56, 40.29, -34.77)
CIE-LCHlch(19.56, 53.21, 319.21°)
OKLaboklab(32.46% 0.0975 -0.0982)
OKLCHoklch(32.46% 0.138 314.8)
XYZxyz(5.5128, 2.8797, 12.0674)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1163 #276311
analogous
#241163 #4D1163 #631150
triadic
#4D1163 #634D11 #11634D
tetradic
#4D1163 #632411 #276311 #115063
square
#4D1163 #632411 #276311 #115063
split-complementary
#4D1163 #506311 #116324
monochromatic
#14041A #24082F #4D1163 #761A97 #9E23CB

Accessibility & contrast

On white

13.32
#4D1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4D1163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1163
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1163#FFFFFF#000000##FFFFFF
##4D11631.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#0C3161
Tritanopia (blue-blind)
#4B243A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1163;
/* rgb */ color: rgb(77, 17, 99);
/* oklch */ color: oklch(32.5% 0.138 314.8);
Tailwind
colors: {
  custom: {
    50: '#825790',
    500: '#4d1163',
    950: '#000000',
  },
}
SCSS
$custom: #4d1163;
$custom-light: #825790;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1163",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 283.902,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32459,
    "c": 0.13837,
    "h": 314.8
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#4D1163
secondary
#509B34
accent
#ED3A6A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D1163

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

Preview Lab → · Contrast checker → · Palette generator →

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