#4C1895#4C1895

#4C1895 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.183 H 294.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#4C1895
RGBrgb(76, 24, 149)
HSLhsl(265, 72%, 34%)
HSVhsv(265, 84%, 58%)
CMYKcmyk(49%, 83.9%, 0%, 41.6%)
CIE-LABlab(24.83, 49.63, -58.01)
CIE-LCHlch(24.83, 76.34, 310.55°)
OKLaboklab(37.49% 0.0753 -0.1665)
OKLCHoklch(37.49% 0.183 294.3)
XYZxyz(8.7304, 4.3594, 28.8094)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1895 #619518
analogous
#182395 #4C1895 #8B1895
triadic
#4C1895 #954C18 #18954C
tetradic
#4C1895 #951823 #619518 #18958B
square
#4C1895 #951823 #619518 #18958B
split-complementary
#4C1895 #958B18 #239518
monochromatic
#16072C #311060 #4C1895 #6720CA #8746E1

Accessibility & contrast

On white

11.22
#4C1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4C1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1895
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1895#FFFFFF#000000##FFFFFF
##4C18951.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#363D58
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c1895;
/* rgb */ color: rgb(76, 24, 149);
/* oklch */ color: oklch(37.5% 0.183 294.3);
Tailwind
colors: {
  custom: {
    50: '#865db5',
    500: '#4c1895',
    950: '#000000',
  },
}
SCSS
$custom: #4c1895;
$custom-light: #865db5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1895",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 264.96,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37485,
    "c": 0.18274,
    "h": 294.3
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#4C1895
secondary
#8FC246
accent
#EF39A3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1895

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

Preview Lab → · Contrast checker → · Palette generator →

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