#4D146F#4D146F

#4D146F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.147 H 308.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#4D146F
RGBrgb(77, 20, 111)
HSLhsl(278, 69%, 26%)
HSVhsv(278, 82%, 44%)
CMYKcmyk(30.6%, 82%, 0%, 56.5%)
CIE-LABlab(20.93, 41.88, -40.39)
CIE-LCHlch(20.93, 58.18, 316.04°)
OKLaboklab(33.73% 0.0921 -0.1147)
OKLCHoklch(33.73% 0.147 308.8)
XYZxyz(6.1794, 3.2259, 15.3330)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D146F #366F14
analogous
#1F146F #4D146F #6F1463
triadic
#4D146F #6F4D14 #146F4D
tetradic
#4D146F #6F1F14 #366F14 #14636F
square
#4D146F #6F1F14 #366F14 #14636F
split-complementary
#4D146F #636F14 #146F1F
monochromatic
#12051A #290B3B #4D146F #711DA3 #9527D7

Accessibility & contrast

On white

12.76
#4D146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4D146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D146F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D146F#FFFFFF#000000##FFFFFF
##4D146F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#482B41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d146f;
/* rgb */ color: rgb(77, 20, 111);
/* oklch */ color: oklch(33.7% 0.147 308.8);
Tailwind
colors: {
  custom: {
    50: '#835999',
    500: '#4d146f',
    950: '#000000',
  },
}
SCSS
$custom: #4d146f;
$custom-light: #835999;
$custom-dark: #000000;
JSON
{
  "hex": "#4d146f",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 277.582,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33729,
    "c": 0.14711,
    "h": 308.8
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#4D146F
secondary
#62A639
accent
#EC3C7E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D146F

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

Preview Lab → · Contrast checker → · Palette generator →

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