#4D106D#4D106D

#4D106D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.149 H 310.1°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#4D106D
RGBrgb(77, 16, 109)
HSLhsl(279, 74%, 25%)
HSVhsv(279, 85%, 43%)
CMYKcmyk(29.4%, 85.3%, 0%, 57.3%)
CIE-LABlab(20.25, 42.88, -40.18)
CIE-LCHlch(20.25, 58.77, 316.86°)
OKLaboklab(33.21% 0.096 -0.1141)
OKLCHoklch(33.21% 0.149 310.1)
XYZxyz(6.0056, 3.0526, 14.7379)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D106D #306D10
analogous
#1F106D #4D106D #6D105F
triadic
#4D106D #6D4D10 #106D4D
tetradic
#4D106D #6D1F10 #306D10 #105F6D
square
#4D106D #6D1F10 #306D10 #105F6D
split-complementary
#4D106D #5F6D10 #106D1F
monochromatic
#13041B #270838 #4D106D #7318A2 #9820D8

Accessibility & contrast

On white

13.04
#4D106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4D106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D106D
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D106D#FFFFFF#000000##FFFFFF
##4D106D1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#48283F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d106d;
/* rgb */ color: rgb(77, 16, 109);
/* oklch */ color: oklch(33.2% 0.149 310.1);
Tailwind
colors: {
  custom: {
    50: '#835798',
    500: '#4d106d',
    950: '#000000',
  },
}
SCSS
$custom: #4d106d;
$custom-light: #835798;
$custom-dark: #000000;
JSON
{
  "hex": "#4d106d",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 279.355,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33205,
    "c": 0.14911,
    "h": 310.1
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#4D106D
secondary
#5BA534
accent
#F13777
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D106D

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

Preview Lab → · Contrast checker → · Palette generator →

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