#4C1475#4C1475

#4C1475 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.153 H 305.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#4C1475
RGBrgb(76, 20, 117)
HSLhsl(275, 71%, 27%)
HSVhsv(275, 83%, 46%)
CMYKcmyk(35%, 82.9%, 0%, 54.1%)
CIE-LABlab(21.29, 43.13, -43.68)
CIE-LCHlch(21.29, 61.38, 314.64°)
OKLaboklab(34.11% 0.089 -0.1244)
OKLCHoklch(34.11% 0.153 305.6)
XYZxyz(6.4408, 3.3212, 17.1279)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1475 #3D7514
analogous
#1B1475 #4C1475 #75146E
triadic
#4C1475 #754C14 #14754C
tetradic
#4C1475 #751B14 #3D7514 #146E75
square
#4C1475 #751B14 #3D7514 #146E75
split-complementary
#4C1475 #6E7514 #14751B
monochromatic
#11041A #2A0B41 #4C1475 #6E1DA9 #8F29DA

Accessibility & contrast

On white

12.62
#4C1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1475
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1475#FFFFFF#000000##FFFFFF
##4C14751.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1475;
/* rgb */ color: rgb(76, 20, 117);
/* oklch */ color: oklch(34.1% 0.153 305.6);
Tailwind
colors: {
  custom: {
    50: '#83599e',
    500: '#4c1475',
    950: '#000000',
  },
}
SCSS
$custom: #4c1475;
$custom-light: #83599e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1475",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 274.639,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34109,
    "c": 0.15296,
    "h": 305.6
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#4C1475
secondary
#6AAB3A
accent
#EE3A86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1475

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

Preview Lab → · Contrast checker → · Palette generator →

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