#4C136E#4C136E

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

Color values

HEX#4C136E
RGBrgb(76, 19, 110)
HSLhsl(278, 71%, 25%)
HSVhsv(278, 83%, 43%)
CMYKcmyk(30.9%, 82.7%, 0%, 56.9%)
CIE-LABlab(20.55, 41.85, -40.36)
CIE-LCHlch(20.55, 58.14, 316.04°)
OKLaboklab(33.41% 0.0918 -0.1147)
OKLCHoklch(33.41% 0.147 308.7)
XYZxyz(6.0273, 3.1281, 15.0351)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C136E #356E13
analogous
#1E136E #4C136E #6E1363
triadic
#4C136E #6E4C13 #136E4C
tetradic
#4C136E #6E1E13 #356E13 #13636E
square
#4C136E #6E1E13 #356E13 #13636E
split-complementary
#4C136E #636E13 #136E1E
monochromatic
#12051A #280A3A #4C136E #701CA2 #9425D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C136E#FFFFFF#000000##FFFFFF
##4C136E1.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)
#002F70
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#472A41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c136e;
/* rgb */ color: rgb(76, 19, 110);
/* oklch */ color: oklch(33.4% 0.147 308.7);
Tailwind
colors: {
  custom: {
    50: '#825998',
    500: '#4c136e',
    950: '#000000',
  },
}
SCSS
$custom: #4c136e;
$custom-light: #825998;
$custom-dark: #000000;
JSON
{
  "hex": "#4c136e",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 277.582,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33406,
    "c": 0.14685,
    "h": 308.7
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#4C136E
secondary
#61A538
accent
#ED3A7D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C136E

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

Preview Lab → · Contrast checker → · Palette generator →

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