#4C1465#4C1465

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

Color values

HEX#4C1465
RGBrgb(76, 20, 101)
HSLhsl(281, 67%, 24%)
HSVhsv(281, 80%, 40%)
CMYKcmyk(24.8%, 80.2%, 0%, 60.4%)
CIE-LABlab(19.95, 39.36, -35.45)
CIE-LCHlch(19.95, 52.97, 317.99°)
OKLaboklab(32.75% 0.0928 -0.1003)
OKLCHoklch(32.75% 0.137 312.8)
XYZxyz(5.5792, 2.9766, 12.5900)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1465 #2D6514
analogous
#231465 #4C1465 #651455
triadic
#4C1465 #654C14 #14654C
tetradic
#4C1465 #652314 #2D6514 #145565
square
#4C1465 #652314 #2D6514 #145565
split-complementary
#4C1465 #556514 #146523
monochromatic
#13051A #260A32 #4C1465 #721E98 #9928CB

Accessibility & contrast

On white

13.16
#4C1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1465
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1465#FFFFFF#000000##FFFFFF
##4C14651.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#0A3163
Tritanopia (blue-blind)
#49273C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1465;
/* rgb */ color: rgb(76, 20, 101);
/* oklch */ color: oklch(32.8% 0.137 312.8);
Tailwind
colors: {
  custom: {
    50: '#815891',
    500: '#4c1465',
    950: '#000000',
  },
}
SCSS
$custom: #4c1465;
$custom-light: #815891;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1465",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 281.481,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32752,
    "c": 0.13662,
    "h": 312.8
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#4C1465
secondary
#579C39
accent
#EA3E73
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1465

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

Preview Lab → · Contrast checker → · Palette generator →

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