#4D104F#4D104F

#4D104F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.121 H 326.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#4D104F
RGBrgb(77, 16, 79)
HSLhsl(298, 66%, 19%)
HSVhsv(298, 80%, 31%)
CMYKcmyk(2.5%, 79.7%, 0%, 69%)
CIE-LABlab(17.98, 36.50, -23.89)
CIE-LCHlch(17.98, 43.63, 326.80°)
OKLaboklab(30.88% 0.1008 -0.0663)
OKLCHoklch(30.88% 0.121 326.6)
XYZxyz(4.6571, 2.5132, 7.6354)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D104F #124F10
analogous
#2D104F #4D104F #4F1031
triadic
#4D104F #4F4D10 #104F4D
tetradic
#4D104F #4F2D10 #124F10 #10314F
square
#4D104F #4F2D10 #124F10 #10314F
split-complementary
#4D104F #314F10 #104F2D
monochromatic
#190519 #1B061C #4D104F #7F1A82 #B025B5

Accessibility & contrast

On white

13.98
#4D104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D104F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D104F#FFFFFF#000000##FFFFFF
##4D104F1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022751
Deuteranopia (green-blind)
#1F2F4D
Tritanopia (blue-blind)
#4F1A2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d104f;
/* rgb */ color: rgb(77, 16, 79);
/* oklch */ color: oklch(30.9% 0.121 326.6);
Tailwind
colors: {
  custom: {
    50: '#815680',
    500: '#4d104f',
    950: '#000000',
  },
}
SCSS
$custom: #4d104f;
$custom-light: #815680;
$custom-dark: #000000;
JSON
{
  "hex": "#4d104f",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 298.095,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30879,
    "c": 0.12063,
    "h": 326.6
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#4D104F
secondary
#358932
accent
#E93F44
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D104F

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

Preview Lab → · Contrast checker → · Palette generator →

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