#4C146A#4C146A

#4C146A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.142 H 310.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4C146A
RGBrgb(76, 20, 106)
HSLhsl(279, 68%, 25%)
HSVhsv(279, 81%, 42%)
CMYKcmyk(28.3%, 81.1%, 0%, 58.4%)
CIE-LABlab(20.35, 40.52, -38.08)
CIE-LCHlch(20.35, 55.60, 316.78°)
OKLaboklab(33.16% 0.0918 -0.108)
OKLCHoklch(33.16% 0.142 310.4)
XYZxyz(5.8317, 3.0776, 13.9197)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C146A #326A14
analogous
#21146A #4C146A #6A145D
triadic
#4C146A #6A4C14 #146A4C
tetradic
#4C146A #6A2114 #326A14 #145D6A
square
#4C146A #6A2114 #326A14 #145D6A
split-complementary
#4C146A #5D6A14 #146A21
monochromatic
#12051A #270A37 #4C146A #711E9D #9627D1

Accessibility & contrast

On white

13.00
#4C146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C146A
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C146A#FFFFFF#000000##FFFFFF
##4C146A1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c146a;
/* rgb */ color: rgb(76, 20, 106);
/* oklch */ color: oklch(33.2% 0.142 310.4);
Tailwind
colors: {
  custom: {
    50: '#825995',
    500: '#4c146a',
    950: '#000000',
  },
}
SCSS
$custom: #4c146a;
$custom-light: #825995;
$custom-dark: #000000;
JSON
{
  "hex": "#4c146a",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 279.07,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.14171,
    "h": 310.4
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#4C146A
secondary
#5DA139
accent
#EB3D7A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C146A

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

Preview Lab → · Contrast checker → · Palette generator →

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