#4D1164#4D1164

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

Color values

HEX#4D1164
RGBrgb(77, 17, 100)
HSLhsl(283, 71%, 23%)
HSVhsv(283, 83%, 39%)
CMYKcmyk(23%, 83%, 0%, 60.8%)
CIE-LABlab(19.63, 40.51, -35.30)
CIE-LCHlch(19.63, 53.73, 318.93°)
OKLaboklab(32.54% 0.0973 -0.0997)
OKLCHoklch(32.54% 0.139 314.3)
XYZxyz(5.5609, 2.8990, 12.3208)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1164 #286411
analogous
#231164 #4D1164 #641152
triadic
#4D1164 #644D11 #11644D
tetradic
#4D1164 #642311 #286411 #115264
square
#4D1164 #642311 #286411 #115264
split-complementary
#4D1164 #526411 #116423
monochromatic
#14041A #250830 #4D1164 #751A98 #9E23CD

Accessibility & contrast

On white

13.29
#4D1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1164
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1164#FFFFFF#000000##FFFFFF
##4D11641.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#0A3162
Tritanopia (blue-blind)
#4B253A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1164;
/* rgb */ color: rgb(77, 17, 100);
/* oklch */ color: oklch(32.5% 0.139 314.3);
Tailwind
colors: {
  custom: {
    50: '#825791',
    500: '#4d1164',
    950: '#000000',
  },
}
SCSS
$custom: #4d1164;
$custom-light: #825791;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1164",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 283.373,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32539,
    "c": 0.13935,
    "h": 314.3
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#4D1164
secondary
#519C35
accent
#EE3A6C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4D1164

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

Preview Lab → · Contrast checker → · Palette generator →

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