#4C136A#4C136A

#4C136A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.143 H 310.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4C136A
RGBrgb(76, 19, 106)
HSLhsl(279, 70%, 25%)
HSVhsv(279, 82%, 42%)
CMYKcmyk(28.3%, 82.1%, 0%, 58.4%)
CIE-LABlab(20.22, 40.91, -38.30)
CIE-LCHlch(20.22, 56.04, 316.89°)
OKLaboklab(33.07% 0.0927 -0.1086)
OKLCHoklch(33.07% 0.143 310.5)
XYZxyz(5.8144, 3.0430, 13.9139)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C136A #316A13
analogous
#20136A #4C136A #6A135D
triadic
#4C136A #6A4C13 #136A4C
tetradic
#4C136A #6A2013 #316A13 #135D6A
square
#4C136A #6A2013 #316A13 #135D6A
split-complementary
#4C136A #5D6A13 #136A20
monochromatic
#13051A #270A36 #4C136A #711C9E #9626D2

Accessibility & contrast

On white

13.05
#4C136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4C136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C136A
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C136A#FFFFFF#000000##FFFFFF
##4C136A1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c136a;
/* rgb */ color: rgb(76, 19, 106);
/* oklch */ color: oklch(33.1% 0.143 310.5);
Tailwind
colors: {
  custom: {
    50: '#825895',
    500: '#4c136a',
    950: '#000000',
  },
}
SCSS
$custom: #4c136a;
$custom-light: #825895;
$custom-dark: #000000;
JSON
{
  "hex": "#4c136a",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 279.31,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33066,
    "c": 0.14281,
    "h": 310.5
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#4C136A
secondary
#5CA138
accent
#EC3B78
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C136A

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

Preview Lab → · Contrast checker → · Palette generator →

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