#4D136F#4D136F

#4D136F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.148 H 308.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4D136F
RGBrgb(77, 19, 111)
HSLhsl(278, 71%, 25%)
HSVhsv(278, 83%, 44%)
CMYKcmyk(30.6%, 82.9%, 0%, 56.5%)
CIE-LABlab(20.79, 42.27, -40.60)
CIE-LCHlch(20.79, 58.61, 316.15°)
OKLaboklab(33.64% 0.093 -0.1153)
OKLCHoklch(33.64% 0.148 308.9)
XYZxyz(6.1621, 3.1913, 15.3272)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D136F #356F13
analogous
#1F136F #4D136F #6F1363
triadic
#4D136F #6F4D13 #136F4D
tetradic
#4D136F #6F1F13 #356F13 #13636F
square
#4D136F #6F1F13 #356F13 #13636F
split-complementary
#4D136F #636F13 #136F1F
monochromatic
#12041A #290A3B #4D136F #711CA3 #9525D8

Accessibility & contrast

On white

12.82
#4D136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4D136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D136F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D136F#FFFFFF#000000##FFFFFF
##4D136F1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.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: #4d136f;
/* rgb */ color: rgb(77, 19, 111);
/* oklch */ color: oklch(33.6% 0.148 308.9);
Tailwind
colors: {
  custom: {
    50: '#835999',
    500: '#4d136f',
    950: '#000000',
  },
}
SCSS
$custom: #4d136f;
$custom-light: #835999;
$custom-dark: #000000;
JSON
{
  "hex": "#4d136f",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 277.826,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33636,
    "c": 0.14815,
    "h": 308.9
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#4D136F
secondary
#61A638
accent
#EE3A7D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D136F

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

Preview Lab → · Contrast checker → · Palette generator →

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