#4C1D64#4C1D64

#4C1D64 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.124 H 312.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#4C1D64
RGBrgb(76, 29, 100)
HSLhsl(280, 55%, 25%)
HSVhsv(280, 71%, 39%)
CMYKcmyk(24%, 71%, 0%, 60.8%)
CIE-LABlab(21.34, 34.99, -32.55)
CIE-LCHlch(21.34, 47.79, 317.06°)
OKLaboklab(33.72% 0.0828 -0.0918)
OKLCHoklch(33.72% 0.124 312)
XYZxyz(5.7197, 3.3355, 12.3966)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1D64 #35641D
analogous
#281D64 #4C1D64 #641D59
triadic
#4C1D64 #644C1D #1D644C
tetradic
#4C1D64 #64281D #35641D #1D5964
square
#4C1D64 #64281D #35641D #1D5964
split-complementary
#4C1D64 #59641D #1D6428
monochromatic
#120718 #280F35 #4C1D64 #702B93 #9439C3

Accessibility & contrast

On white

12.60
#4C1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4C1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1D64
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1D64#FFFFFF#000000##FFFFFF
##4C1D641.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#163462
Tritanopia (blue-blind)
#492B3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4c1d64;
/* rgb */ color: rgb(76, 29, 100);
/* oklch */ color: oklch(33.7% 0.124 312.0);
Tailwind
colors: {
  custom: {
    50: '#815d91',
    500: '#4c1d64',
    950: '#000000',
  },
}
SCSS
$custom: #4c1d64;
$custom-light: #815d91;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1d64",
  "rgb": {
    "r": 76,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 279.718,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33719,
    "c": 0.1236,
    "h": 312
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#4C1D64
secondary
#619944
accent
#DE497C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4C1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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