#4D104C#4D104C

#4D104C is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.118 H 328.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#4D104C
RGBrgb(77, 16, 76)
HSLhsl(301, 66%, 18%)
HSVhsv(301, 79%, 30%)
CMYKcmyk(0%, 79.2%, 1.3%, 69.8%)
CIE-LABlab(17.78, 35.93, -22.15)
CIE-LCHlch(17.78, 42.21, 328.35°)
OKLaboklab(30.68% 0.1008 -0.0613)
OKLCHoklch(30.68% 0.118 328.7)
XYZxyz(4.5503, 2.4705, 7.0733)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D104C #104D11
analogous
#2F104D #4D104C #4D102D
triadic
#4D104C #4C4D10 #104C4D
tetradic
#4D104C #4D2F10 #104D11 #102D4D
square
#4D104C #4D2F10 #104D11 #102D4D
split-complementary
#4D104C #2D4D10 #104D2F
monochromatic
#190519 #1A051A #4D104C #801B7E #B225B0

Accessibility & contrast

On white

14.06
#4D104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4D104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D104C
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D104C#FFFFFF#000000##FFFFFF
##4D104C1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06264E
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#50192D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d104c;
/* rgb */ color: rgb(77, 16, 76);
/* oklch */ color: oklch(30.7% 0.118 328.7);
Tailwind
colors: {
  custom: {
    50: '#81567e',
    500: '#4d104c',
    950: '#000000',
  },
}
SCSS
$custom: #4d104c;
$custom-light: #81567e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d104c",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 300.984,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30678,
    "c": 0.11793,
    "h": 328.7
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#4D104C
secondary
#328733
accent
#E9423F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D104C

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

Preview Lab → · Contrast checker → · Palette generator →

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