#4C1367#4C1367

#4C1367 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.140 H 311.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#4C1367
RGBrgb(76, 19, 103)
HSLhsl(281, 69%, 24%)
HSVhsv(281, 82%, 40%)
CMYKcmyk(26.2%, 81.6%, 0%, 59.6%)
CIE-LABlab(19.97, 40.22, -36.73)
CIE-LCHlch(19.97, 54.47, 317.59°)
OKLaboklab(32.82% 0.0934 -0.104)
OKLCHoklch(32.82% 0.14 311.9)
XYZxyz(5.6611, 2.9817, 13.1066)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1367 #2E6713
analogous
#221367 #4C1367 #671358
triadic
#4C1367 #674C13 #13674C
tetradic
#4C1367 #672213 #2E6713 #135867
square
#4C1367 #672213 #2E6713 #135867
split-complementary
#4C1367 #586713 #136722
monochromatic
#13051A #260933 #4C1367 #721D9B #9826CE

Accessibility & contrast

On white

13.15
#4C1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4C1367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1367
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1367#FFFFFF#000000##FFFFFF
##4C13671.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#043165
Tritanopia (blue-blind)
#49273D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1367;
/* rgb */ color: rgb(76, 19, 103);
/* oklch */ color: oklch(32.8% 0.140 311.9);
Tailwind
colors: {
  custom: {
    50: '#825893',
    500: '#4c1367',
    950: '#000000',
  },
}
SCSS
$custom: #4c1367;
$custom-light: #825893;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1367",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 280.714,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32817,
    "c": 0.13978,
    "h": 311.9
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#4C1367
secondary
#599E37
accent
#EC3C75
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1367

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

Preview Lab → · Contrast checker → · Palette generator →

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