#4D136E#4D136E

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

Color values

HEX#4D136E
RGBrgb(77, 19, 110)
HSLhsl(278, 71%, 25%)
HSVhsv(278, 83%, 43%)
CMYKcmyk(30%, 82.7%, 0%, 56.9%)
CIE-LABlab(20.71, 42.03, -40.09)
CIE-LCHlch(20.71, 58.09, 316.36°)
OKLaboklab(33.55% 0.0932 -0.1138)
OKLCHoklch(33.55% 0.147 309.3)
XYZxyz(6.1073, 3.1694, 15.0389)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D136E #346E13
analogous
#20136E #4D136E #6E1361
triadic
#4D136E #6E4D13 #136E4D
tetradic
#4D136E #6E2013 #346E13 #13616E
square
#4D136E #6E2013 #346E13 #13616E
split-complementary
#4D136E #616E13 #136E20
monochromatic
#12051A #280A3A #4D136E #721CA2 #9625D6

Accessibility & contrast

On white

12.85
#4D136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D136E
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D136E#FFFFFF#000000##FFFFFF
##4D136E1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#482A41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d136e;
/* rgb */ color: rgb(77, 19, 110);
/* oklch */ color: oklch(33.6% 0.147 309.3);
Tailwind
colors: {
  custom: {
    50: '#835998',
    500: '#4d136e',
    950: '#000000',
  },
}
SCSS
$custom: #4d136e;
$custom-light: #835998;
$custom-dark: #000000;
JSON
{
  "hex": "#4d136e",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 278.242,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33551,
    "c": 0.14714,
    "h": 309.3
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#4D136E
secondary
#5FA538
accent
#ED3A7B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D136E

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

Preview Lab → · Contrast checker → · Palette generator →

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