#4C134E#4C134E

#4C134E is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.9% C 0.115 H 326.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#4C134E
RGBrgb(76, 19, 78)
HSLhsl(298, 61%, 19%)
HSVhsv(298, 76%, 31%)
CMYKcmyk(2.6%, 75.6%, 0%, 69.4%)
CIE-LABlab(18.15, 34.84, -22.94)
CIE-LCHlch(18.15, 41.71, 326.64°)
OKLaboklab(30.95% 0.0961 -0.0636)
OKLCHoklch(30.95% 0.115 326.5)
XYZxyz(4.5884, 2.5526, 7.4573)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C134E #154E13
analogous
#2F134E #4C134E #4E1333
triadic
#4C134E #4E4C13 #134E4C
tetradic
#4C134E #4E2F13 #154E13 #13334E
square
#4C134E #4E2F13 #154E13 #13334E
split-complementary
#4C134E #334E13 #134E2F
monochromatic
#180619 #1C071D #4C134E #7C1F7F #AC2BB0

Accessibility & contrast

On white

13.90
#4C134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4C134E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C134E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C134E#FFFFFF#000000##FFFFFF
##4C134E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072850
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#4E1C2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c134e;
/* rgb */ color: rgb(76, 19, 78);
/* oklch */ color: oklch(30.9% 0.115 326.5);
Tailwind
colors: {
  custom: {
    50: '#805780',
    500: '#4c134e',
    950: '#000000',
  },
}
SCSS
$custom: #4c134e;
$custom-light: #805780;
$custom-dark: #000000;
JSON
{
  "hex": "#4c134e",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 297.966,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30948,
    "c": 0.11525,
    "h": 326.5
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#4C134E
secondary
#398736
accent
#E44449
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C134E

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

Preview Lab → · Contrast checker → · Palette generator →

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