#4D136A#4D136A

#4D136A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.143 H 311.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#4D136A
RGBrgb(77, 19, 106)
HSLhsl(280, 70%, 25%)
HSVhsv(280, 82%, 42%)
CMYKcmyk(27.4%, 82.1%, 0%, 58.4%)
CIE-LABlab(20.38, 41.11, -38.03)
CIE-LCHlch(20.38, 56.00, 317.23°)
OKLaboklab(33.21% 0.0942 -0.1078)
OKLCHoklch(33.21% 0.143 311.2)
XYZxyz(5.8945, 3.0843, 13.9177)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D136A #306A13
analogous
#22136A #4D136A #6A135C
triadic
#4D136A #6A4D13 #136A4D
tetradic
#4D136A #6A2213 #306A13 #135C6A
square
#4D136A #6A2213 #306A13 #135C6A
split-complementary
#4D136A #5C6A13 #136A22
monochromatic
#13051A #270A36 #4D136A #731C9E #9826D2

Accessibility & contrast

On white

12.99
#4D136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4D136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D136A
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D136A#FFFFFF#000000##FFFFFF
##4D136A1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#003268
Tritanopia (blue-blind)
#49283E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d136a;
/* rgb */ color: rgb(77, 19, 106);
/* oklch */ color: oklch(33.2% 0.143 311.2);
Tailwind
colors: {
  custom: {
    50: '#835895',
    500: '#4d136a',
    950: '#000000',
  },
}
SCSS
$custom: #4d136a;
$custom-light: #835895;
$custom-dark: #000000;
JSON
{
  "hex": "#4d136a",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 280,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33214,
    "c": 0.14313,
    "h": 311.2
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#4D136A
secondary
#5BA138
accent
#EC3B76
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D136A

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

Preview Lab → · Contrast checker → · Palette generator →

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