#4C1869#4C1869

#4C1869 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.136 H 310.3°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#4C1869
RGBrgb(76, 24, 105)
HSLhsl(279, 63%, 25%)
HSVhsv(279, 77%, 41%)
CMYKcmyk(27.6%, 77.1%, 0%, 58.8%)
CIE-LABlab(20.87, 38.58, -36.59)
CIE-LCHlch(20.87, 53.18, 316.52°)
OKLaboklab(33.5% 0.0879 -0.1036)
OKLCHoklch(33.5% 0.136 310.3)
XYZxyz(5.8564, 3.2098, 13.6729)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1869 #356918
analogous
#241869 #4C1869 #69185D
triadic
#4C1869 #694C18 #18694C
tetradic
#4C1869 #692418 #356918 #185D69
square
#4C1869 #692418 #356918 #185D69
split-complementary
#4C1869 #5D6918 #186924
monochromatic
#120619 #280D37 #4C1869 #70239B #942FCD

Accessibility & contrast

On white

12.79
#4C1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1869
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1869#FFFFFF#000000##FFFFFF
##4C18691.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1869;
/* rgb */ color: rgb(76, 24, 105);
/* oklch */ color: oklch(33.5% 0.136 310.3);
Tailwind
colors: {
  custom: {
    50: '#825b94',
    500: '#4c1869',
    950: '#000000',
  },
}
SCSS
$custom: #4c1869;
$custom-light: #825b94;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1869",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 278.519,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.335,
    "c": 0.13591,
    "h": 310.3
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#4C1869
secondary
#619F3E
accent
#E6427D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1869

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

Preview Lab → · Contrast checker → · Palette generator →

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