#4C1375#4C1375

#4C1375 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.154 H 305.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#4C1375
RGBrgb(76, 19, 117)
HSLhsl(275, 72%, 27%)
HSVhsv(275, 84%, 46%)
CMYKcmyk(35%, 83.8%, 0%, 54.1%)
CIE-LABlab(21.16, 43.50, -43.89)
CIE-LCHlch(21.16, 61.80, 314.75°)
OKLaboklab(34.02% 0.0898 -0.125)
OKLCHoklch(34.02% 0.154 305.7)
XYZxyz(6.4235, 3.2866, 17.1222)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1375 #3C7513
analogous
#1B1375 #4C1375 #75136D
triadic
#4C1375 #754C13 #13754C
tetradic
#4C1375 #751B13 #3C7513 #136D75
square
#4C1375 #751B13 #3C7513 #136D75
split-complementary
#4C1375 #6D7513 #13751B
monochromatic
#11041A #2A0A40 #4C1375 #6E1CAA #9027DC

Accessibility & contrast

On white

12.67
#4C1375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4C1375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1375
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1375#FFFFFF#000000##FFFFFF
##4C13751.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#442D45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4c1375;
/* rgb */ color: rgb(76, 19, 117);
/* oklch */ color: oklch(34.0% 0.154 305.7);
Tailwind
colors: {
  custom: {
    50: '#83599e',
    500: '#4c1375',
    950: '#000000',
  },
}
SCSS
$custom: #4c1375;
$custom-light: #83599e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1375",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 274.898,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34019,
    "c": 0.15394,
    "h": 305.7
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#4C1375
secondary
#69AB38
accent
#EF3985
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1375

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

Preview Lab → · Contrast checker → · Palette generator →

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