#4C1969#4C1969

#4C1969 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.135 H 310.2°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4C1969
RGBrgb(76, 25, 105)
HSLhsl(278, 62%, 25%)
HSVhsv(278, 76%, 41%)
CMYKcmyk(27.6%, 76.2%, 0%, 58.8%)
CIE-LABlab(21.03, 38.13, -36.33)
CIE-LCHlch(21.03, 52.67, 316.38°)
OKLaboklab(33.61% 0.0869 -0.1029)
OKLCHoklch(33.61% 0.135 310.2)
XYZxyz(5.8774, 3.2518, 13.6799)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1969 #366919
analogous
#241969 #4C1969 #69195E
triadic
#4C1969 #694C19 #19694C
tetradic
#4C1969 #692419 #366919 #195E69
square
#4C1969 #692419 #366919 #195E69
split-complementary
#4C1969 #5E6919 #196924
monochromatic
#120619 #280D38 #4C1969 #70259A #9431CC

Accessibility & contrast

On white

12.72
#4C1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4C1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1969
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1969#FFFFFF#000000##FFFFFF
##4C19691.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#093367
Tritanopia (blue-blind)
#482B3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4c1969;
/* rgb */ color: rgb(76, 25, 105);
/* oklch */ color: oklch(33.6% 0.135 310.2);
Tailwind
colors: {
  custom: {
    50: '#815b94',
    500: '#4c1969',
    950: '#000000',
  },
}
SCSS
$custom: #4c1969;
$custom-light: #815b94;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1969",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 278.25,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33613,
    "c": 0.13464,
    "h": 310.2
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#4C1969
secondary
#629F3F
accent
#E5437E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1969

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

Preview Lab → · Contrast checker → · Palette generator →

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