#4C1364#4C1364

#4C1364 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.137 H 313.4°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#4C1364
RGBrgb(76, 19, 100)
HSLhsl(282, 68%, 23%)
HSVhsv(282, 81%, 39%)
CMYKcmyk(24%, 81%, 0%, 60.8%)
CIE-LABlab(19.73, 39.54, -35.15)
CIE-LCHlch(19.73, 52.90, 318.36°)
OKLaboklab(32.57% 0.094 -0.0994)
OKLCHoklch(32.57% 0.137 313.4)
XYZxyz(5.5132, 2.9225, 12.3278)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1364 #2B6413
analogous
#231364 #4C1364 #641353
triadic
#4C1364 #644C13 #13644C
tetradic
#4C1364 #642313 #2B6413 #135364
square
#4C1364 #642313 #2B6413 #135364
split-complementary
#4C1364 #536413 #136423
monochromatic
#14051A #250931 #4C1364 #731D97 #9A27CB

Accessibility & contrast

On white

13.25
#4C1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4C1364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1364
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1364#FFFFFF#000000##FFFFFF
##4C13641.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#0A3162
Tritanopia (blue-blind)
#49263B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1364;
/* rgb */ color: rgb(76, 19, 100);
/* oklch */ color: oklch(32.6% 0.137 313.4);
Tailwind
colors: {
  custom: {
    50: '#815891',
    500: '#4c1364',
    950: '#000000',
  },
}
SCSS
$custom: #4c1364;
$custom-light: #815891;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1364",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 282.222,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32573,
    "c": 0.13677,
    "h": 313.4
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#4C1364
secondary
#559C37
accent
#EB3D70
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4C1364

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

Preview Lab → · Contrast checker → · Palette generator →

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