#4C1365#4C1365

#4C1365 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.7% C 0.138 H 312.9°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#4C1365
RGBrgb(76, 19, 101)
HSLhsl(282, 68%, 24%)
HSVhsv(282, 81%, 40%)
CMYKcmyk(24.8%, 81.2%, 0%, 60.4%)
CIE-LABlab(19.81, 39.76, -35.68)
CIE-LCHlch(19.81, 53.42, 318.10°)
OKLaboklab(32.65% 0.0938 -0.1009)
OKLCHoklch(32.65% 0.138 312.9)
XYZxyz(5.5619, 2.9420, 12.5843)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1365 #2C6513
analogous
#231365 #4C1365 #651355
triadic
#4C1365 #654C13 #13654C
tetradic
#4C1365 #652313 #2C6513 #135565
square
#4C1365 #652313 #2C6513 #135565
split-complementary
#4C1365 #556513 #136523
monochromatic
#13051A #250931 #4C1365 #731D99 #9A26CC

Accessibility & contrast

On white

13.22
#4C1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4C1365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1365
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1365#FFFFFF#000000##FFFFFF
##4C13651.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#083163
Tritanopia (blue-blind)
#49263B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1365;
/* rgb */ color: rgb(76, 19, 101);
/* oklch */ color: oklch(32.7% 0.138 312.9);
Tailwind
colors: {
  custom: {
    50: '#825891',
    500: '#4c1365',
    950: '#000000',
  },
}
SCSS
$custom: #4c1365;
$custom-light: #825891;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1365",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 281.707,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32654,
    "c": 0.13777,
    "h": 312.9
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#4C1365
secondary
#569D37
accent
#EB3D72
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1365

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

Preview Lab → · Contrast checker → · Palette generator →

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