#4D136C#4D136C

#4D136C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.145 H 310.2°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#4D136C
RGBrgb(77, 19, 108)
HSLhsl(279, 70%, 25%)
HSVhsv(279, 82%, 42%)
CMYKcmyk(28.7%, 82.4%, 0%, 57.6%)
CIE-LABlab(20.54, 41.57, -39.06)
CIE-LCHlch(20.54, 57.04, 316.78°)
OKLaboklab(33.38% 0.0937 -0.1108)
OKLCHoklch(33.38% 0.145 310.2)
XYZxyz(5.9997, 3.1264, 14.4718)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D136C #326C13
analogous
#20136C #4D136C #6C135F
triadic
#4D136C #6C4D13 #136C4D
tetradic
#4D136C #6C2013 #326C13 #135F6C
square
#4D136C #6C2013 #326C13 #135F6C
split-complementary
#4D136C #5F6C13 #136C20
monochromatic
#13051A #280A38 #4D136C #721CA0 #9725D4

Accessibility & contrast

On white

12.92
#4D136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4D136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D136C
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D136C#FFFFFF#000000##FFFFFF
##4D136C1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#49293F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d136c;
/* rgb */ color: rgb(77, 19, 108);
/* oklch */ color: oklch(33.4% 0.145 310.2);
Tailwind
colors: {
  custom: {
    50: '#835997',
    500: '#4d136c',
    950: '#000000',
  },
}
SCSS
$custom: #4d136c;
$custom-light: #835997;
$custom-dark: #000000;
JSON
{
  "hex": "#4d136c",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 279.101,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33382,
    "c": 0.14514,
    "h": 310.2
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

primary
#4D136C
secondary
#5DA338
accent
#ED3B79
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D136C

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

Preview Lab → · Contrast checker → · Palette generator →

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