#4C146F#4C146F

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

Color values

HEX#4C146F
RGBrgb(76, 20, 111)
HSLhsl(277, 69%, 26%)
HSVhsv(277, 82%, 44%)
CMYKcmyk(31.5%, 82%, 0%, 56.5%)
CIE-LABlab(20.77, 41.69, -40.65)
CIE-LCHlch(20.77, 58.23, 315.73°)
OKLaboklab(33.59% 0.0906 -0.1155)
OKLCHoklch(33.59% 0.147 308.1)
XYZxyz(6.0993, 3.1846, 15.3292)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C146F #376F14
analogous
#1E146F #4C146F #6F1464
triadic
#4C146F #6F4C14 #146F4C
tetradic
#4C146F #6F1E14 #376F14 #14646F
square
#4C146F #6F1E14 #376F14 #14646F
split-complementary
#4C146F #646F14 #146F1E
monochromatic
#12051A #280B3B #4C146F #701DA3 #9327D7

Accessibility & contrast

On white

12.83
#4C146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4C146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C146F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C146F#FFFFFF#000000##FFFFFF
##4C146F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#462B41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4c146f;
/* rgb */ color: rgb(76, 20, 111);
/* oklch */ color: oklch(33.6% 0.147 308.1);
Tailwind
colors: {
  custom: {
    50: '#825999',
    500: '#4c146f',
    950: '#000000',
  },
}
SCSS
$custom: #4c146f;
$custom-light: #825999;
$custom-dark: #000000;
JSON
{
  "hex": "#4c146f",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 276.923,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.14682,
    "h": 308.1
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#4C146F
secondary
#63A639
accent
#EC3C80
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C146F

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

Preview Lab → · Contrast checker → · Palette generator →

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